i don't know what's whong
#6

Quote:
Originally Posted by Naxix
Код:
if(!strcmp("/pdroof", cmdtext, true))
  {
	new Float:X, Float:Y, Float:Z;
	GetPlayerPos(playerid, X, Y, Z);
	if(X=246.4694 && Y=118.5366 && Z=1003.2188)
	{
		GameTextForPlayer(playerid, "~g~PD ROOF!",3500,5);
		SetPlayerInterior(playerid, 0);
		SetPlayerPos(playerid,1565.0529,-1665.7257,28.3956);
	}
	return 1;
}
That should do it.. the "F" in Float always have to be big and you missed a ";" at the line under the floats.
Код:
C:\Documents and Settings\Stefan\My Documents\New Folder\gamemodes\saints.pwn(26820) : warning 211: possibly unintended assignment
C:\Documents and Settings\Stefan\My Documents\New Folder\gamemodes\saints.pwn(26820) : warning 211: possibly unintended assignment
C:\Documents and Settings\Stefan\My Documents\New Folder\gamemodes\saints.pwn(26820) : error 022: must be lvalue (non-constant)
C:\Documents and Settings\Stefan\My Documents\New Folder\gamemodes\saints.pwn(26820) : error 022: must be lvalue (non-constant)
C:\Documents and Settings\Stefan\My Documents\New Folder\gamemodes\saints.pwn(26820) : warning 215: expression has no effect
C:\Documents and Settings\Stefan\My Documents\New Folder\gamemodes\saints.pwn(26820) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Stefan\My Documents\New Folder\gamemodes\saints.pwn(26820) : fatal error 107: too many error messages on one line
this is the result..
Reply


Messages In This Thread
i don't know what's whong - by Stefan_Toretto - 18.06.2010, 21:45
Re: i don't know what's whong - by Mina - 18.06.2010, 21:48
Re: i don't know what's whong - by Naxix - 18.06.2010, 21:48
Re: i don't know what's whong - by Stefan_Toretto - 18.06.2010, 21:50
Re: i don't know what's whong - by Naxix - 18.06.2010, 21:51
Re: i don't know what's whong - by Stefan_Toretto - 18.06.2010, 21:51
Re: i don't know what's whong - by Naxix - 18.06.2010, 21:52
Re: i don't know what's whong - by Stefan_Toretto - 18.06.2010, 21:53
Re: i don't know what's whong - by Naxix - 18.06.2010, 21:56
Re: i don't know what's whong - by Stefan_Toretto - 18.06.2010, 22:00

Forum Jump:


Users browsing this thread: 7 Guest(s)