SA-MP Forums Archive
remembering id - 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)
+--- Thread: remembering id (/showthread.php?tid=453068)



remembering id - yancarlos4500 - 23.07.2013

hello i am making a script for a garbage job but i dont know how to save Players id for example

If i get to a checkpoint in a Trashmaster and there is a passenger then it will save the drivers id and the passenger id so i can use it later

when it saves then when i go to a checkpoint then it will give a checkpoint to the passenger so he would have to get out of the vehicle then when he goes to the checkpoint it will give a checkpoint to the drivers


so please help


Re: remembering id - MP2 - 23.07.2013

It's called a variable - the simplest thing in programming. Perhaps you should look it up.

http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf


Respuesta: remembering id - yancarlos4500 - 23.07.2013

if you give my the script then i will learn

Please HELP


+ I want to get the Drivers id and the passenger id so when the passenger get's out of the car and goes to a checkpoint it will give a checkpoint to the driver

Please HELP


Re: remembering id - yancarlos4500 - 24.07.2013

Look i know is basic

i know how to do it because i can just use a function to get the drivers id

I dont know how to save so when the passengers gets out i just use the variable to give another checkpoint


Because i cant get the driver if the passenger is not on a car


Re: remembering id - Vanter - 24.07.2013

useless effort


Respuesta: remembering id - yancarlos4500 - 24.07.2013

Vanter if you are not going to help then dont reply