Object problem
#6

Huh...
//----------------------------[Block]-------------------------------------------

if(strcmp(cmdtext,"/block",true)==0)
{
if(gTeam[playerid] == TEAM_ARMY)
{
new Float, Float:y, Float:z;
GetPlayerPos(playerid,x,y,z);
1134 CreateObject(981, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ);
SendClientMessage(playerid,COLOR_LIGHTBLUE,"Object Created Successfully!");
}
else SendClientMessage(playerid,COLOR_LIGHTBLUE,"You need to be army if you want to use this command");
//CreateObject(981, 2266.821533, -1591.052002, 3.209601, 0.0000, 0.0000, 270.0000);

return 1;
}

D:\New Folder\GTA San Andreas\SAMP\SAMP SERVER\gamemodes\abcd.pwn(1134) : error 017: undefined symbol "X"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Object problem - by Frankox - 12.07.2009, 15:57
Re: Object problem - by member - 12.07.2009, 16:32
Re: Object problem - by yom - 12.07.2009, 16:34
Re: Object problem - by member - 12.07.2009, 16:38
Re: Object problem - by Frankox - 12.07.2009, 17:28
Re: Object problem - by Frankox - 12.07.2009, 17:33
Re: Object problem - by yom - 12.07.2009, 18:10
Re: Object problem - by Frankox - 12.07.2009, 18:27

Forum Jump:


Users browsing this thread: 1 Guest(s)