Help ! :) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help ! :) (
/showthread.php?tid=535230)
Help ! :) -
TeddyYeah - 02.09.2014
I made a simple command to put a player in a location ! Look code:
Код:
if (strcmp("/yesman", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 217,1699.3818,-2197.0549,13.3750,270.1485);
SendClientMessage(playerid, -1, "Message");
return 1;
}
return 0;
}
I compiled. with 2 errors , but when tried the command on server , he put me to anther location , not to location what I wanted.... and ... I had 2 errors , but , filescript loaded with 2 errors !
Look errors :
Код:
C:\Users\tedi\Desktop\JOCURI SI PROGRAME\Romania Fantastic Stunt bY Teddy\Fantastic Stunt bY Teddy\filterscripts\Trenuletul.pwn(208) : warning 202: number of arguments does not match definition
C:\Users\tedi\Desktop\JOCURI SI PROGRAME\Romania Fantastic Stunt bY Teddy\Fantastic Stunt bY Teddy\filterscripts\Trenuletul.pwn(208) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings
Can I solve errors? Thanks!
Re: Help ! :) -
Clad - 02.09.2014
Don't make two threads with same question
Re: Help ! :) -
TeddyYeah - 02.09.2014
sorry !

i dont know how to kill this thread!
Re: Help ! :) -
meitaredri - 02.09.2014
I helped you:
https://sampforum.blast.hk/showthread.php?tid=535226
Re: Help ! :) -
Mzake - 02.09.2014
u made a big fault , The coordinations are wrong not in right place/order or what ever... it needs to be :
pawn Код:
SetPlayerPos(playerid, 1699.3818,-2197.0549,13.3750); // liek this : 0.0, 0.0, 0.0);