|
|
#1 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2010
Posts: 1,794
Reputation: 1
|
Welcome to my very short and simple tutorial!
Credits to Joe_Staff for the code! For SAMP Default pawn Code:
For DCMD pawn Code:
For ZCMD pawn Code:
|
|
|
|
|
|
#2 |
|
Little Clucker
![]() Join Date: Mar 2010
Posts: 12
Reputation: 0
|
nice tut thanks mate.. ill try it as soon as possible
|
|
|
|
|
|
#3 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jan 2010
Posts: 551
Reputation: 0
|
I thought public functions have to return something.
|
|
|
|
|
|
#4 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2010
Posts: 1,794
Reputation: 1
|
Quote:
|
|
|
|
|
|
|
#5 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2010
Posts: 1,794
Reputation: 1
|
Edited first post,
With a much simpler code, And simpler way of doing it, Thanks to Joe_Staff, |
|
|
|
|
|
#6 |
|
Banned
![]() Join Date: Apr 2009
Location: Sofia, Bulgaria
Posts: 2,409
Reputation: 106
|
Nice Tut!Very useful
|
|
|
|
|
|
#7 | |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: May 2007
Posts: 700
Reputation: 29
|
Quote:
Bit of help for you: pawn Code:
pawn Code:
pawn Code:
pawn Code:
pawn Code:
pawn Code:
pawn Code:
|
|
|
|
|
|
|
#8 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jan 2010
Posts: 551
Reputation: 0
|
I get warnings telling me that public function x should return a value, that's why I thought public functions always return something.
|
|
|
|
|
|
#9 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: May 2007
Posts: 700
Reputation: 29
|
There is probably a return higher up in the function. (Like below)
pawn Code:
|
|
|
|
|
|
#10 |
|
Big Clucker
![]() ![]() Join Date: Jan 2010
Posts: 151
Reputation: 0
|
i edited the carmenu by Garsino. so people couldnt abuse it by over spawning cars
lol i even made it so they cant spawn huge planes XD |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Car Lock abusing | ArTisT | Help Archive | 4 | 12/05/2010 04:15 PM |
| Server Commands stop working, when typed a command | DaHP14Y3R | Help Archive | 2 | 08/04/2010 06:17 PM |
| How to do , when I typing command, The bot is stop? | _Ben_[Fux-c.co.il RP] | Help Archive | 3 | 08/09/2009 10:54 AM |
| I think im abusing VARS | Paladin | Help Archive | 9 | 02/08/2009 07:18 PM |
| Please, can we stop this? | Kirkmaster10 | General | 6 | 15/06/2009 07:39 PM |