C:\Users\User Principal 2\Documents\DeTodoUnPoco\gamemodes\CounterTDM.pwn( 14 : warning 202: number of arguments does not match definition C:\Users\User Principal 2\Documents\DeTodoUnPoco\gamemodes\CounterTDM.pwn( 156) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. |
public OnPlayerSpawn(playerid) { if(Equipo[playerid] == Policias) // El equipo al que pertenece. { SetPlayerPos(playerid, 1527.831054, -1653.310180, 5.890625, 267.104370); SetPlayerColor(playerid, 0x0000FFFF); SetPlayerArmour(playerid, 100); GivePlayerWeapon(playerid, 31, 1000); GivePlayerWeapon(playerid, 3, 1); // Y le damos dos armas. MsgPoli(-1, "{0d20d6}Un nuevo policнa se ha unido al cuerpo."); } if(Equipo[playerid] == Ladrones) { SetPlayerPos(playerid, 2481.905273, -1667.009155, 13.339534, 78.732040); SetPlayerColor(playerid, 0xFF0000FF); SetPlayerArmour(playerid, 100); GivePlayerWeapon(playerid, 30, 1000); GivePlayerWeapon(playerid, 1, 1); MsgLadron(-1, "{d60d0d}Un nuevo ladrуn se ha venido al getto."); } GangZoneShowForPlayer(playerid, Policia, 0x0000FF63); return 0b1; } |
public OnPlayerSpawn(playerid) { if(Equipo[playerid] == Policias) // El equipo al que pertenece. { SetPlayerPos(playerid, 1527.831054, -1653.310180, 5.890625, 267.104370); SetPlayerColor(playerid, 0x0000FFFF); SetPlayerArmour(playerid, 100); GivePlayerWeapon(playerid, 31, 1000); GivePlayerWeapon(playerid, 3, 1); // Y le damos dos armas. MsgPoli(-1, "{0d20d6}Un nuevo policнa se ha unido al cuerpo."); } if(Equipo[playerid] == Ladrones) { SetPlayerPos(playerid, 2481.905273, -1667.009155, 13.339534, 78.732040); SetPlayerColor(playerid, 0xFF0000FF); SetPlayerArmour(playerid, 100); GivePlayerWeapon(playerid, 30, 1000); GivePlayerWeapon(playerid, 1, 1); MsgLadron(-1, "{d60d0d}Un nuevo ladrуn se ha venido al getto."); } GangZoneShowForPlayer(playerid, Policia, 0x0000FF63); return 0b1; }
SetPlayerPos(playerid, 1527.831054, -1653.310180, 5.890625, 267.104370);
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase |