explode player
#1

What i am tring to do is if someone in the wrong class uses this command the will explode but i gt these errors


Код:
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\black.pwn(5206) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\black.pwn(5206 -- 5207) : warning 215: expression has no effect
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\black.pwn(5207) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Код:
if(strcmp(cmdtext, "/placemine", true) == 0)
 }
	if( gPlayerClass[playerid] == ENGINEER )
	{
	SetPlayerHealth(giveplayerid, 10);
	new Float:boomx, Float:boomy, Float:boomz;
	GetPlayerPos(giveplayerid,boomx, boomy, boomz);
	CreateExplosion(boomx, boomy , boomz, 7, 10);
  return 1;
	}
Reply


Messages In This Thread
explode player - by 02manchestera - 12.03.2010, 22:19
Re: explode player - by Conroy - 12.03.2010, 22:30
Re: explode player - by 02manchestera - 12.03.2010, 22:38
Re: explode player - by aircombat - 12.03.2010, 22:45
Re: explode player - by Lajko1 - 13.03.2010, 05:31
Re: explode player - by Jakku - 13.03.2010, 06:02

Forum Jump:


Users browsing this thread: 1 Guest(s)