SA-MP Forums Archive
Pickup help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pickup help (/showthread.php?tid=132609)



Pickup help - szekelyzsolt - 08.03.2010

Hello i have a problem

I whant to create textdraw with pickup

Like 25/ 100

20= number of stunts done (player entered checkpoint)
100= number of pickups

PS i use gadmin this is for user pickups done

Please help me

Sorry for bad english



Re: Checkpoint help - szekelyzsolt - 09.03.2010

BUMP


Re: Checkpoint help - szekelyzsolt - 10.03.2010

BUMP


Re: Checkpoint help - szekelyzsolt - 11.03.2010

BUMP



Re: Checkpoint help - szekelyzsolt - 12.03.2010

Bump


Re: Checkpoint help - Jakku - 12.03.2010

We need more explanation, to realize what you actually want.
"I need a checkpoint with textdraw" does not describe the thing you want



Re: Checkpoint help - szekelyzsolt - 13.03.2010

For example at the end of stunt is a checkpoint
On player enter checkpoint receive 5000000$ and 1 stuntpoint

The stuntpoint is aded to a textdraw like 25/30



Re: Checkpoint help - Chriham3 - 13.03.2010

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
// CREATE A TEXTDRAW
// Your addmoney function
// Your addstuntpoint function
// create a timer to destroytextdraw
//// Everything can be found on wiki ////
    return 1;
}



Re: Checkpoint help - szekelyzsolt - 14.03.2010

Quote:
Originally Posted by Chriham3
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
// CREATE A TEXTDRAW
// Your addmoney function
// Your addstuntpoint function
// create a timer to destroytextdraw
//// Everything can be found on wiki ////
    return 1;
}
The textdraw is separate for players not only for one


Re: Checkpoint help - Deat_Itself - 14.03.2010

Код:
new mypickup;

ongamemodeinit
mypickup=createpickup...

Onplayerpickuppickup

if(pickupid == mypickup) GivePlayermoney(playerid, ...), SendClientMessage(playerid, color, "you have re...");

onplayerconnect

	CreatePlayer3DTextLabel(playerid, "your text",color,..,..,..);