28.08.2009, 02:36
Hi i am asking for somebody to make (or find) me a script that is for the pirate ship, where if you stay on it, you get money continuously until you get off.
Thanks ! Coz.
Thanks ! Coz.
forward PirateShip()
SetTimer("PirateShip",2000,true); //Delay is set to 2 seconds
public PirateShip()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerInArea(BLAHDEBLAH)) // Insert the stuff in there
{
GivePlayerCash(i,500); // The amount per 2 seconds :)
GameTextForPlayer(i,"~g~You are holding the PirateShip! You have earned $500",1000,3);
}
}
return 1;
}