if(TruckLoad[playerid] == 0) { SetPlayerScore(playerid, GetPlayerScore(playerid) + 1); format(Message, sizeof(Message), "You earned $i", trucker[End][cost]); SendClientMessage(playerid, -1, Message); GivePlayerMoney(playerid, trucker[End][cost]); }
if(TruckLoad[playerid] == 1) { SetPlayerScore(playerid, GetPlayerScore(playerid) + 2); format(Message, sizeof(Message), "You earned $i and bonus", trucker[End][cost]); SendClientMessage(playerid, -1, Message); GivePlayerMoney(playerid, trucker[End][cost]); }
if(TruckLoad[playerid] == 0) { SetPlayerScore(playerid, GetPlayerScore(playerid) + 1); format(Message, sizeof(Message), "You earned $i", trucker[End][cost]); SendClientMessage(playerid, -1, Message); GivePlayerMoney(playerid, trucker[End][cost]); }
if(TruckLoad[playerid] == 1) { SetPlayerScore(playerid, GetPlayerScore(playerid) + 2); format(Message, sizeof(Message), "You earned $i and bonus", trucker[End][cost]); SendClientMessage(playerid, -1, Message); GivePlayerMoney(playerid, trucker[End][cost]); }
{1, 2420.6235,-2464.2495,13.6250, "Los Santos Warehouse", "Weapons", 1538.4180,-1674.5314,13.5469, "Los Santos Police Station", 3000}
if(TruckLoad[playerid] == 1)
{
SetPlayerScore(playerid, GetPlayerScore(playerid) + 2);
format(Message, sizeof(Message), "You earned $i and bonus", trucker[End][cost]);
SendClientMessage(playerid, -1, Message);
GivePlayerMoney(playerid, trucker[End][cost]*2);
}
You can use this
PHP код:
|