18.09.2017, 15:52
Quote:
CMD:esposar(playerid,params[])
{ new id; new string[256]; new string2[256]; new NombreJugador1[MAX_PLAYER_NAME]; GetPlayerName(playerid, NombreJugador1, sizeof(NombreJugador1)); if(gTeam[playerid] == TEAM_BLUE) return SendClientMessage(playerid,-1,"No eres Policia"); if(sscanf(params, "u", id)) return SendClientMessage(playerid, -1, "Uso correcto: /esposar [id]"); if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_ROJO, "Ese jugador no estб conectado!"); format(string, sizeof(string), "Has Esposado a %s ",NombreJugador1(id)); SendClientMessage(playerid, COLOR_CELESTE, string); format(string2, sizeof(string2), "El Policia %s te espososo",NombreJugador1(playerid)); SendClientMessage(id,-1,string2); ApplyAnimation(id,"SWORD","sword_block",50.0,0, 1,1,1,1); return 1; } |
Quote:
C:\Users\JhenselRijo\Videos\GM CSGO\gamemodes\CSGO.pwn(639) : error 012: invalid function call, not a valid address
C:\Users\JhenselRijo\Videos\GM CSGO\gamemodes\CSGO.pwn(639) : warning 215: expression has no effect C:\Users\JhenselRijo\Videos\GM CSGO\gamemodes\CSGO.pwn(639) : error 001: expected token: ";", but found ")" C:\Users\JhenselRijo\Videos\GM CSGO\gamemodes\CSGO.pwn(639) : error 029: invalid expression, assumed zero C:\Users\JhenselRijo\Videos\GM CSGO\gamemodes\CSGO.pwn(639) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |