SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 20/10/2014, 11:54 PM   #11
ThePhenix
Gangsta
 
ThePhenix's Avatar
 
Join Date: May 2012
Posts: 801
Reputation: 157
Default Re: Simple Car Spawn Command

Quote:
Originally Posted by DownDuckling View Post
How would I make it so only admins can spawn cars?

My variable is:
Code:
if(PlayerInfo[playerid][pAdmin] >= )

If pAdmin is 0, means that the player is not an admin, your code should be:


PHP Code:
if(PlayerInfo[playerid][pAdmin]) 
or

PHP Code:
if(PlayerInfo[playerid][pAdmin] >= 1
ThePhenix is offline   Reply With Quote
Old 21/10/2014, 12:29 AM   #12
TwinkiDaBoss
Gangsta
 
Join Date: Jul 2014
Posts: 795
Reputation: 54
Default Re: Simple Car Spawn Command

Its okay. You took a bit of time to explain everything and such. Overall keep it up, you got some skills.
TwinkiDaBoss is offline   Reply With Quote
Old 01/08/2020, 02:31 PM   #13
meranti1995
Big Clucker
 
Join Date: Jul 2014
Posts: 56
Reputation: 0
Default Re: Simple Car Spawn Command

why everytime i exit vehicle, it always move to place i spawn it.

note: sorry bad english
meranti1995 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Simple Repair and Heal command (Simple for newbs) kingcrome Filterscripts 4 01/11/2013 12:16 AM
[Tool/Web/Other] Vehicle spawn generator ( Very Simple ) _chimera_ Tools and Files 5 23/06/2013 08:01 PM
simple NPC doesn't spawn HurtLocker Scripting Help 6 11/04/2013 08:47 PM
Simple Spawn Creation Fierros Scripting Help 1 19/10/2012 04:16 AM
Simple command to spawn vehicle Freddy Z Help Archive 0 07/01/2010 02:47 PM


All times are GMT. The time now is 09:39 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.