Help ! :)
#1

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!
Reply
#2

Don't make two threads with same question
Reply
#3

sorry ! i dont know how to kill this thread!
Reply
#4

I helped you:
https://sampforum.blast.hk/showthread.php?tid=535226
Reply
#5

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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)