SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 29/12/2011, 09:19 AM   #1
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Help with /neon!

I get a job mechanic..then i typed /neon.
But there is no neon this is the pawn command
pawn Code:
if(strcmp(cmd, "/neon", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pJob] != 7) { return SendClientMessage(playerid, COLOR_GREY, "   You are not a Mechanic !"); }
            if(!IsPlayerInAnyVehicle(playerid)) { return SendClientMessage(playerid, COLOR_GREY, "   You are not in a vehicle !"); }
            if(PlayerInfo[playerid][pCash] < 2000) { return SendClientMessage(playerid, COLOR_GREY, "   You cant afford the neon !"); }
            new vehicleid = GetPlayerVehicleID(playerid);
            if(IsInvalidNeonVehicle(vehicleid))
            {
                return SendClientMessage(playerid, COLOR_GREY, "   You cant mod this vehicle !");
            }
            DisplayDialogForPlayer(playerid, 101);
        }
    }
__________________
Looking for a scripter for FREE!!
Contact me msn:arnoldaztecas@hotmail.com
yahoo:truerealityroleplay@yahoo.com
skype:$$Money$$
If i got money from server donater, will pay you by alertpay,paypal or volt-host.
Mapper and Scripter.You will get co-owner status for the server
and I will buy the host and helping you get some ideas and
scripts.Hope you will helped me!Pm me or contact me.
$$Money$$ is offline   Reply With Quote
Old 29/12/2011, 09:33 AM   #2
Ironboy
High-roller
 
Ironboy's Avatar
 
Join Date: Nov 2010
Location: Isle of Man
Posts: 1,935
Reputation: 433
Default Re: Help with /neon!

Have you added neon functions in OnDialogResponse"?
Ironboy is offline   Reply With Quote
Old 29/12/2011, 11:42 AM   #3
N0FeaR
High-roller
 
N0FeaR's Avatar
 
Join Date: Nov 2011
Location: Sweden
Posts: 2,305
Reputation: 167
Default Re: Help with /neon!

can i see dialogid == 101?
__________________
Here is my discord server https://discord.gg/ucVpDkJ
N0FeaR 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] Neon script with neon garage with objects (for sa-mp 0.3c only!) audifan00 Filterscripts 161 01/12/2015 06:03 PM
[Include] BNeons - Set your wanted vehicle neon by just 1 line! Simple Neon Include [MWR]Blood Includes 6 23/08/2011 11:50 AM
Neon? Ironboy Help Archive 2 26/07/2011 01:18 PM
Please help with neon Denisenko Help Archive 1 18/12/2010 07:44 PM


All times are GMT. The time now is 05:01 PM.


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