C:\Documents and Settings\Tiago\Desktop\tazer.pwn(11) : error 017: undefined symbol "GetPlayerPos" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(12) : error 017: undefined symbol "GetPlayerPos" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(13) : error 017: undefined symbol "floatsqroot" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(13) : warning 213: tag mismatch C:\Documents and Settings\Tiago\Desktop\tazer.pwn(14) : warning 213: tag mismatch C:\Documents and Settings\Tiago\Desktop\tazer.pwn(17) : error 017: undefined symbol "GetPlayerFacingAngle" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(18) : error 017: undefined symbol "floatsin" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(19) : error 017: undefined symbol "floatcos" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(20) : error 017: undefined symbol "floatsqroot" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(20) : warning 213: tag mismatch C:\Documents and Settings\Tiago\Desktop\tazer.pwn(21) : error 070: rational number support was not enabled C:\Documents and Settings\Tiago\Desktop\tazer.pwn(10) : warning 203: symbol is never used: "Z2" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(10) : warning 203: symbol is never used: "Z1" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(7) : warning 203: symbol is never used: "aimid" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(7) : warning 203: symbol is never used: "playerid" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(7 -- 31) : warning 235: public function lacks forward declaration (symbol "OnPlayerKeyStateChange") C:\Documents and Settings\Tiago\Desktop\tazer.pwn(7 -- 33) : error 017: undefined symbol "KEY_FIRE" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(35) : error 017: undefined symbol "GetMaxPlayers" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(37) : error 017: undefined symbol "IsPlayerConnected" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(39) : error 017: undefined symbol "GetPlayerState" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(41) : error 017: undefined symbol "SendClientMessage" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(42) : error 017: undefined symbol "SendClientMessage" C:\Documents and Settings\Tiago\Desktop\tazer.pwn(43) : error 017: undefined symbol "TogglePlayerControllable" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 15 Errors.
SendClientMessage(i, -1, "Vocк foi imobilizado por %s",playerid); SendClientMessage(playerid, -1, "Vocк imobilizou %s",i);
C:\Documents and Settings\Tiago\Desktop\tazer.pwn(41) : warning 202: number of arguments does not match definition C:\Documents and Settings\Tiago\Desktop\tazer.pwn(42) : warning 202: number of arguments does not match definition
Galera eu queria colocar na frase tipo assim "Vocк imobilizou (nome do cara)" porem eu to tentando fazer assim:
Code:
SendClientMessage(i, -1, "Vocк foi imobilizado por %s",playerid); SendClientMessage(playerid, -1, "Vocк imobilizou %s",i); Code:
C:\Documents and Settings\Tiago\Desktop\tazer.pwn(41) : warning 202: number of arguments does not match definition C:\Documents and Settings\Tiago\Desktop\tazer.pwn(42) : warning 202: number of arguments does not match definition |
new string[ 30 ]; format(string, sizeof string, "Vocк foi Imobilizado por %d",i); //Sendo %d o prefixo para um nъmero inteiro! Ou seja, o ID do jogador, nгo o nome. SendClientMessage(playerid,-1, string);
format(string, sizeof(string), "* Vocк foi sequestrado por %s.", sendername); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
e se eu usar tipo assim:
Code:
format(string, sizeof(string), "* Vocк foi sequestrado por %s.", sendername); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); |
SetTimer("FimTaser", 20000, 0);
ok ok tudo certo agora eu quero fazer um public pq tipo quando o cara for atingido pelo tazer ja vai estar assim
Code:
SetTimer("FimTaser", 20000, 0); |
GetPlayerWeapon(playerid) == IDdaarma)