|
|
#1 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2011
Location: Bulgaria
Posts: 218
Reputation: 10
|
Hey guys. I tired many times to construct that command but it don't work.
When i spawn the elegy everything is ok, i make the command for all players. But when i exit the vehicle and type /elegy again, it gets spawned again. I wanna make the command when anyone type /elegy again the other car gets destroyed and let spawn new car. Here is the command. pawn Code:
+REP for the dude who help me. |
|
|
|
|
|
#2 |
|
Big Clucker
![]() ![]() Join Date: Apr 2012
Location: Bulgaria
Posts: 59
Reputation: 11
|
Try this:
PHP Code:
|
|
|
|
|
|
#3 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2011
Location: Amsterdam, Netherlands
Posts: 1,722
Reputation: 358
|
new vehicleid[MAX_PLAYERS];
Should be a global variable, so OUTSIDE of the command and placed at the TOP of your script. And it should be pawn Code:
|
|
|
|
|
|
#4 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2011
Location: Bulgaria
Posts: 218
Reputation: 10
|
The both ways don't work. At the second way ( milanosie ) i get error: invalid function or declaration.
|
|
|
|
|
|
#5 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2011
Location: Bulgaria
Posts: 218
Reputation: 10
|
Hello? Please i really need a help.
|
|
|
|
|
|
#6 |
|
Big Clucker
![]() ![]() Join Date: Apr 2012
Location: Bulgaria
Posts: 59
Reputation: 11
|
Sorry, this will works
![]() PHP Code:
|
|
|
|
|
|
#7 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2011
Location: Bulgaria
Posts: 218
Reputation: 10
|
Thanks. +REP for you.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ELEGY HELP 2! | necrobg3 | Scripting Help | 5 | 19/08/2012 11:59 AM |
| 720° with elegy | The_Pain | Screenshots and Videos | 20 | 11/01/2010 04:07 AM |
| ..:: [SDK][HKS] vol.1 : Elegy Mix ::.. | XxerykxX | Screenshots and Videos | 2 | 21/09/2009 05:02 PM |
| /elegy command (spawns an elegy) HELP, sorry for one more thread. | Simmeey | Help Archive | 9 | 20/04/2009 12:48 AM |