Help! Teleport
#1

Here's the errors.

Quote:

C:\Users\Hampus\Desktop\Freeroam\gamemodes\freeroa m.pwn(1027) : warning 215: expression has no effect
C:\Users\Hampus\Desktop\Freeroam\gamemodes\freeroa m.pwn(1027) : error 001: expected token: ";", but found ")"
C:\Users\Hampus\Desktop\Freeroam\gamemodes\freeroa m.pwn(1027) : error 029: invalid expression, assumed zero
C:\Users\Hampus\Desktop\Freeroam\gamemodes\freeroa m.pwn(1027) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Here's the code.
Quote:

if (!strcmp("/ls-stunt", cmdtext, true))
{
SetPlayerPos(playerid, 600359, -2309.696289,19.270639), cmdtext);
return 1;
}

Reply
#2

Код:
 	if (!strcmp("/ls-stunt", cmdtext, true))
	{
   	SetPlayerPos(playerid, 600359, -2309.696289,19.270639);
		return 1;
	}[/quote]
]
Reply
#3

Код:
if (strcmp("/ls-stunt",cmdtext,true)==0)
{
   SetPlayerPos(playerid, Xcoord, Ycoord, Zcoord);
   return 1;
}
You made a little wrong in the scripting, fixed that right away. But also it looks like you screwed up those coordinates, try getting new ones and try using the code i made for you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)