03.04.2015, 15:25
PHP код:
{
if(pickupid == GrooveHealth){
SendClientMessage(playerid, 0x33AA33AA, "Okay my nigga you are done!"
SetPlayerHealth(playerid, 100);
}
if(pickupid == BallasHealth){
SendClientMessage(playerid, 0xFFC0CBAA, "Okay dude you are up!"
SetPlayerHealth(playerid, 100);
}
if(pickupid == VagosHealth){
SendClientMessage(playerid, 0xFFFF00AA, "Okay Amigo you are monster now!"
SetPlayerHealth(playerid, 100);
}
if(pickupid == AztecaHealth){
SendClientMessage(playerid, 0x33CCFFAA, "Okay Hermano you'r up!"
SetPlayerHealth(playerid, 100);
}
if(pickupid == LSPDHealth){
SendClientMessage(playerid, 0xAA3333AA, "Okay SIR you are healthy!"
SetPlayerHealth(playerid, 100);
}
if(pickupid == HospitalOne){
SendClientMessage(playerid, 0xAA3333AA, "You are healted sir!"
SetPlayerHealth(playerid, 100);
}
if(pickupid == HospitalTwo){
SendClientMessage(playerid, 0xAA3333AA, "You are healted sir!"
SetPlayerHealth(playerid, 100);
}
if(pickupid == GrooveArmour){
SendClientMessage(playerid, 0x33AA33AA, "Iron Man is that you?"
SetPlayerArmour(playerid, 100);
}
if(pickupid == BallasArmour){
SendClientMessage(playerid, 0xFFC0CBAA, "Shit man you are IRON now!"
SetPlayerArmour(playerid, 100);
}
if(pickupid == VagosArmour){
SendClientMessage(playerid, 0xFFFF00AA, "Madre querida you are IRON amigo!"
SetPlayerArmour(playerid, 100);
}
if(pickupid == AztecaArmour){
SendClientMessage(playerid, 0x33CCFFAA, "Okay Hermano you are IRON now!"
SetPlayerArmour(playerid, 100);
}
if(pickupid == LSPDArmour){
SendClientMessage(playerid, 0xAA3333AA, "Okay SIR you are armored!"
SetPlayerArmour(playerid, 100);
}
return 1;
}