What im doing wrong ?
#1

when i'm want to compile it says

: warning 202: number of arguments does not match definition
: warning 202: number of arguments does not match definition
: warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Warnings.


if(strcmp(cmdtext, "/koor", true)==0)
{
new Float, Float:y, Float:z;
GetPlayerCameraPos(playerid, x, y, z);
SendClientMessage(playerid,RED,"The player left when they had their camera at %f,%f,%f.", x, y, z);
return 1;
}


it says that error on that line :

SendClientMessage(playerid,RED,"The player left when they had their camera at %f,%f,%f.", x, y, z);
Reply
#2

pawn Код:
if(strcmp(cmdtext,"/koor",true) == 0)
{
    new string[64],Float:x,Float:y,Float:z; GetPlayerCameraPos(playerid,x,y,z);      
    format(string,sizeof(string),"The player left when they had their camera at %f,%f,%f.",x,y,z);
    SendClientMessage(playerid,RED,string);
    return 1;
}
Reply
#3

THANKS now works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)