07.09.2009, 16:16
Код:
if(strcmp(cmd, "/party", true) == 0)
{
if (AccountInfo[playerid][AdminLevel] > 3 || IsPlayerAdmin(playerid))
{
SendClientMessageToAll(0xDEEE20FF, "PARTY TIME! YEHAA!");
GetPlayerPos(i,pX,pY,pZ);
SetPlayerPos(i,pX,pY,pZ+5);
SetPlayerInterior(i, 3);
SetPlayerPos(playerid,-2637.69,1404.24,906.46);
ResetPlayerWeapons(i);
}
else SendClientMessage(playerid, RED, "No party for you");
return 1;
}
PS: Is there a callback to disable interior exits? If yes, Iґd like to have that implemented.

