What's wrong ?
#2

Quote:
Originally Posted by marinov
Посмотреть сообщение
Код:
	if(strcmp(cmdtext,"/putzombie", true, 10) == 0)
	{
 		new id = strval(cmdtext[11]); //this is the id of the player whos team your trying to change
		team[id] = 2;
		infected[playerid] = 0;
		SetPlayerPos(playerid,X,Y,Z);
		SetPlayerColor(playerid,ZRED);
		SetPlayerTeam(playerid, 2);
		SetPlayerHealth(playerid, 200);
 		SetPlayerSkin(playerid,162);
		GameTextForPlayer(playerid,"~r~Zombie: ~b~/hide",10000,1);
  		return 1;
	}
when I try it my server crashes
LOL

pawn Код:
SetPlayerPos(playerid,X,Y,Z);
Don't just copy and paste code that is given to you.
Reply


Messages In This Thread
What's wrong ? - by marinov - 07.11.2010, 21:51
Re: What's wrong ? - by WillyP - 07.11.2010, 21:56
Re: What's wrong ? - by marinov - 07.11.2010, 21:56
Re: What's wrong ? - by WillyP - 07.11.2010, 21:58
Re: What's wrong ? - by marinov - 07.11.2010, 22:00
Re: What's wrong ? - by marinov - 07.11.2010, 22:05
Re: What's wrong ? - by Scenario - 07.11.2010, 22:09
Re: What's wrong ? - by Th3Angel - 07.11.2010, 22:11
Re: What's wrong ? - by WillyP - 07.11.2010, 22:11
Re: What's wrong ? - by -Rebel Son- - 07.11.2010, 22:29

Forum Jump:


Users browsing this thread: 1 Guest(s)