parking system
#2

That's easy but you have to think a little bit.
At first write down what dou you need
1. Command with parameter
2. A Timer which repeat every minute
3. You need a global 1d array for each player
4. if statement with IsPlayerInRangOfPoint

Know what do you want to use
1. Command (strcmp , YCMD , ZCMD ...)
2. Get the parameter (sscanf , strtok...)

Know How it should work now
1. Player use this command
2. get the value from the parameter as parktime
3. Timer should reduce the value from the player each minute

Then start with scripting your command
Reply


Messages In This Thread
parking system - by Stanford - 16.01.2013, 15:13
AW: parking system - by IPrototypeI - 16.01.2013, 15:26
Re: parking system - by Glad2BeHere - 16.01.2013, 15:32
Re: parking system - by Stanford - 17.01.2013, 11:29
Re: parking system - by RajatPawar - 17.01.2013, 12:03

Forum Jump:


Users browsing this thread: 1 Guest(s)