[Pedido] ajuda nisso porfavor
#1

ajuda a faзe um x1run de 2 pessoal eu ja tentei e nao dar


PHP код:
if(strcmp(cmdtext"/x1run"true) == 0) {
static
Float:myHealth,
Float:myArmour;
GetPlayerHealth(playeridmyHealth);
GetPlayerArmour(playeridmyArmour);
if ( 
myHealth 30 && myArmour == )
return 
SendClientMessage(playerid, -1"Sua HP esta muito baixa e й por isso que vocк nгo pode usar este comando!");
if (
GetPVarInt(playerid"noX1") == )
return 
SendClientMessage(playerid, -1"{FF140F}[ERRO]: {FFFFFF}Voзe ja esta em uma arena dm para sair use: /sairdm");
static 
iecont;
for ( 
0GetMaxPlayers(); e; ++) {
if ( 
IsPlayerConnected(i) && GetPVarInt(playerid"noX1") != )
cont++;}
if ( 
cont >= )
return 
SendClientMessage(playerid, -1"O X1 jб possui 2 participantes!");
SetPlayerPos(playerid2470.997, -1677.91413.6328);
SetPlayerVirtualWorld(playerid1);
new 
pname[MAX_PLAYER_NAME];
GetPlayerName(playeridpnameMAX_PLAYER_NAME);
format(stringsizeof(string), "%s foi para o {FF00FF}X1 Running {FF0000}( /x1run )"pname);
SendClientMessageToAll(COLOR_YELLOWstring);
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid,16);
SetPlayerPos(playerid, -1416.38271246.92461039.8741);
SetPlayerFacingAngle(playerid273.7604);
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,100);
GivePlayerWeapon(playerid229999999999);
GivePlayerWeapon(playerid289999999999);
GivePlayerWeapon(playerid269999999999);
SetPVarInt(playerid"noX1"1);
return 
1;} 
Reply


Messages In This Thread
ajuda nisso porfavor - by xXCallXX - 17.02.2014, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)