10.02.2011, 18:48
Hello. I've created a teleport for my mod and it won't work, please help.
the whole project:
The error:
the whole project:
PHP код:
if(strcmp(cmdtext, "/fight", true)==0)
{
SetPlayerPos(playerid, -1478.5038, 1488.9690, 8.2501);
SetPlayerFacingAngle(playerid, 3970,17);
SendClientMessage(playerid, 0x33AA33AA, "Welcome to the Fighting Zone");
return 1;
}
PHP код:
C:\Documents and Settings\User\Desktop\Og's EmPire\samp03csvr_win32\gamemodes\lvdm.pwn(210) : warning 202: number of arguments does not match definition
C:\Documents and Settings\User\Desktop\Og's EmPire\samp03csvr_win32\gamemodes\lvdm.pwn(361) : error 010: invalid function or declaration
C:\Documents and Settings\User\Desktop\Og's EmPire\samp03csvr_win32\gamemodes\lvdm.pwn(366) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.