You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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
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;
}
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
hey bro, do you think you can finish this? might not all of it but some more features 💯
The text was updated successfully, but these errors were encountered: