SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 17/10/2019, 03:13 PM   #1
PopularTech
Little Clucker
 
PopularTech's Avatar
 
Join Date: Dec 2018
Posts: 23
Reputation: 0
Default Need some script help please

I own a roleplay server and i want to make some usual cmds to help my players. i was thinking for a /cough and a /sneeze cmd so like when you type it it sends a /me telling that you sneezed/coughed but im new to pawn and i have no clue how to make it.

Note -------- I already have the /me, /do cmds etc and im using ZCMD
__________________
𝕰𝖝𝖙𝖗𝖊𝖒𝖊 𝕽𝖔𝖑𝖊𝖕𝖑𝖆𝖞
Our Community Extreme Roleplay is based in the City of Los Santos. After several tries and a lot of stress we managed to get everything running and now our only goal is to build a big and succesful community where you guys can have fun roleplaying. We would appreciate if you would join this adventure with us! https://discord.gg/WqsWPsJ

PopularTech is offline   Reply With Quote
Old 17/10/2019, 03:22 PM   #2
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,475
Reputation: 1632
Default Re: Need some script help please

Code:
CMD:sneeze(playerid, params[]) return cmd_me(playerid, "sneezes");
This returns the /me command for playerid with command parameter "sneezes". So it simulates someone using "/me sneezes"
__________________
Do not click on this URL -It is secret information
RIP Slayer 1981-2019 \m/
Kwarde is online now   Reply With Quote
Old 17/10/2019, 03:52 PM   #3
PopularTech
Little Clucker
 
PopularTech's Avatar
 
Join Date: Dec 2018
Posts: 23
Reputation: 0
Default Re: Need some script help please

Thanks a lot dude +REP
__________________
𝕰𝖝𝖙𝖗𝖊𝖒𝖊 𝕽𝖔𝖑𝖊𝖕𝖑𝖆𝖞
Our Community Extreme Roleplay is based in the City of Los Santos. After several tries and a lot of stress we managed to get everything running and now our only goal is to build a big and succesful community where you guys can have fun roleplaying. We would appreciate if you would join this adventure with us! https://discord.gg/WqsWPsJ

PopularTech 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
how to make inventory script - MYSQL R41-2 [ mini script ] BrnX Scripting Help 2 26/08/2017 11:03 PM
Friend gave me his script and has 26 errors please help! (Script is already released public) Mappers4Life Scripting Help 5 15/05/2013 07:58 PM
Hilfe beim script (es geht um nemesuns Script) godaince1 Scripting Help 0 23/09/2012 03:10 PM
laptop script, incorporated to my script. result: can't compile to an amx file.. nikoo Help Archive 1 14/11/2009 03:57 AM
How to script a script??? how do u scripted a script, i have no clue HELP! Badandy Help Archive 10 06/06/2009 08:57 PM


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


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