0 Members and 1 Guest are viewing this topic.
//------------------------------------------------------------------------------public OnPlayerSpawn(playerid){SetPlayerCheckpoint(playerid,1460.8708,-786.5081,99.8605,3); //SetPlayerCheckpoint(playerid,1815.9240,-1435.7183,35.9219,3); //SetPlayerCheckpoint(playerid,1752.7170,-1409.1849,34.8133,3); //SetPlayerCheckpoint(playerid,1871.5204,-1446.1597,28.7969,3); //SetPlayerCheckpoint(playerid,2068.9219,-1829.4824,22.4531,3); //SetPlayerCheckpoint(playerid,2039.2244,-1967.9883,23.5217,3); //SetPlayerCheckpoint(playerid,1766.5111,-1708.9930,27.6206,3); //SetPlayerCheckpoint(playerid,1765.7565,-1230.6735,91.6406,3); // GameTextForPlayer(playerid, "~g~STUNTS BY SENARA", 5000, 3);}//---------------------------------------------------------------------------public OnPlayerEnterCheckpoint(playerid) {new name[256]; new string[256];GivePlayerMoney(playerid,5000);//replace 1000 with the amount u want to give to player GetPlayerName(playerid, name, 5);// this will display the name of the player who reaches the finish check first. SendClientMessageToAll(COLOR_GREEN, string); DisablePlayerCheckpoint(playerid); //this disables the check point when a player enters it}
public OnPlayerSpawn(playerid){SetPlayerCheckpoint(playerid,1460.8708,-786.5081,99.8605,3); //GameTextForPlayer(playerid, "~g~STUNTS BY SENARA", 5000, 3);}//---------------------------------------------------------------------------public OnPlayerEnterCheckpoint(playerid) {GivePlayerMoney(playerid,5000);//replace 1000 with the amount u want to give to playerSendClientMessageToAll(COLOR_GREEN, "Bang - Sumone reached it");DisablePlayerCheckpoint(playerid); //this disables the check point when a player enters it}
SMF 2.0.19 | SMF © 2021, Simple Machines