Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hey bro #1

Open
hoiancc opened this issue Dec 24, 2021 · 2 comments
Open

hey bro #1

hoiancc opened this issue Dec 24, 2021 · 2 comments

Comments

@hoiancc
Copy link

hoiancc commented Dec 24, 2021

hey bro, do you think you can finish this? might not all of it but some more features 💯

@HTRoad
Copy link

HTRoad commented Jan 21, 2022

@hookmethods Bro, i've got some issues with the game mode that i don't know how to fix, I'd appreciate if you would give me support a little bit here's my discord: HittheRoad#5609 or if you want I can add you but please help me.
here are the issues
image
here's the code

CMD:houseint(playerid, params[])
{
	new type;

    if (PlayerInfo[playerid][pAdmin] < 3)
	{
		return SendErrorMessage(playerid, "You don't have permission to use this command.");
	}
	else if (sscanf(params, "i", type))
	{
	    return SendUsageMessage(playerid, "/houseint (interior 0-%i)", sizeof(Interior));
	}
	else if (type < 0 || type > sizeof(Interior))
	{
	    return SendErrorMessage(playerid, "You must input a type between 0 and %i.", sizeof(g_HouseInteriors) - 1);
	}
	else
	{
	    SetPlayerPos(playerid, Interior[type][INT_POS][0], Interior[type][INT_POS][1], Interior[type][INT_POS][2]);
		SetPlayerInterior(playerid, Interior[type][INT_ID]);
	    sendMessage(playerid, -1, "You are now viewing house interior: %i.", type);
	}
	return 1;
}



@stewartab
Copy link

the throwed a warning dictating that those variables on the console hasn't been used. If you want to remove them, just remove the variable from the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants