25.04.2012, 17:30
i want this type /heal or /changeskin and with checkpoint for hospital
give me code
give me code
//In OnPlayerText
if(ConditionsIsInCheckpoint)
{
if(text == 1)
{
if(GetPlayerMoney(playerid) < 250) return 1;
GivePlayerMoney(playerid, -250);
SetPlayerHealth(playerid, 100);
}
if(text == 2)
{
if(GetPlayerMoney(playerid) < 5000)return 1;
GivePlayerMoney(playerid, -5000);
SetPlayerHealth(playerid, idskin);
}}