12.03.2010, 01:07
Ok, so i was scripting a /crash message and it doesn't work. I was told bya good friend that 0.3a fixed the object error. Is there any way to still use the /crash command?
GameTextForPlayer(playerid, "~", 1, 5);
if(strcmp,("/crash", cmdtext, true, 10) == 0) { GameTextForPlayer(playerid, "~". 1, 5); }
if(strcmp,("/crash", cmdtext, true) == 0)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid,x,y,z);
CreatePlayerObject(playerid,301,x,y,z,0,0,0);
return 1;
}
(944) : error 076: syntax error in the expression, or invalid function call
Originally Posted by ScottCFR
Thanks man
But when i compile i get this: Код:
(944) : error 076: syntax error in the expression, or invalid function call |
Originally Posted by ScottCFR
Sorry for askin i got an insane headache, How do i put the player in a car as passenger?
|