29.11.2012, 15:06
Alguem tem um code para que quando o player entrasse no servidor com level 0 ele automaticamente ganhe level 10 + 5.000$ ?
//OnPlayerConnect
if(Level[playerid] == 0)
{
Level[playerid] = 10;
GivePlayerMoney(playerid, 5000);
}
// OnPlayerConnect(playerid)
SetPlayerScore(playerid, 10);
GivePlayerGrana(playerid, 5000);
//oNplayerconnect
if(GetPlayerScore(playerid) == 0)
{
SetPlayerScore(playerid, 10);
GivePlayerMoney(playerid, 5000);
}