20.08.2010, 03:42
(
Последний раз редактировалось dogu; 20.08.2010 в 03:57.
)
E Ai galera, graзas ao andmeida10 eu vi esse codigo,
Mas eu queria botar pra sу os policiais usar, como faзo? ajudem ai por favor
e esses warnnings?
C:\Documents and Settings\Dogu\Desktop\Brasil Second Life\gamemodes\SLRP.pwn(26773) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Dogu\Desktop\Brasil Second Life\gamemodes\SLRP.pwn(26773) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Код:
new cmd[128], idx; cmd = strtok(cmdtext, idx); if(strcmp(cmd,"/procurar",true) == 0) { new tmp[256]; new giveplayerid; tmp = strtok(cmdtext, idx); giveplayerid = strval(tmp); if(!strlen(tmp)) return SendClientMessage(playerid,COR_BRANCO,"USO: /procurar [id]"); if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COR_BRANCO, "id invalido."); new Float:X,Float:Y,Float:Z; GetPlayerPos(giveplayerid, X,Y,Z); SetPlayerCheckpoint(playerid, X,Y,Z, 6); return 1; }
e esses warnnings?
C:\Documents and Settings\Dogu\Desktop\Brasil Second Life\gamemodes\SLRP.pwn(26773) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Dogu\Desktop\Brasil Second Life\gamemodes\SLRP.pwn(26773) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase