Need help
#1

Код:
	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;
	}
I though i is everyone? I get errors when compiling, the command should slap all, TP them to Jizzys, send them a message and disarm them.

PS: Is there a callback to disable interior exits? If yes, Iґd like to have that implemented.
Reply


Messages In This Thread
Need help - by Striker_Moe - 07.09.2009, 16:16
Re: Need help - by dice7 - 07.09.2009, 16:30
Re: Need help - by Clavius - 07.09.2009, 16:32
Re: Need help - by Striker_Moe - 07.09.2009, 16:34
Re: Need help - by Clavius - 07.09.2009, 16:42
Re: Need help - by dice7 - 07.09.2009, 16:43
Re: Need help - by Striker_Moe - 07.09.2009, 16:46
Re: Need help - by dice7 - 07.09.2009, 16:53
Re: Need help - by Striker_Moe - 07.09.2009, 16:54
Re: Need help - by Striker_Moe - 07.09.2009, 17:07

Forum Jump:


Users browsing this thread: 1 Guest(s)