Island Life Prison Roleplay
Welcome back to ILRP! Please type in your username and password to 'login'.

HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Welcome to Island Life Prison Roleplay! Our Server and Forums is under Major Construction, and will be for quit some time, but feel free to Go In Game, and check it out, as we script and Map new things everyday! Feel free to create topics on the forums, and claim your spot in DoC if you want to be a guard! Thanks and enjoy!

Share | 

 Make Simple & Fast Commands

Go down 


Posts : 15
Join date : 2013-03-02
Age : 22
Location : United States

PostSubject: Make Simple & Fast Commands   3/6/2013, 3:31 pm

the basic layout of a ZCMD command would look like this.
CMD:kill(playerid, params[]) {
   SetPlayerHealth(playerid, 0);
   return 1;

but what happens if you add some parameters to it?
This is what this simple kill command could look like. It could be so much more sick than that!

CMD:kill(playerid, params[]) {
   new string[128];
   SetPlayerHealth(playerid, 0);
   format(string, sizeof(string), "%s has '/killed' themself.", GetName(playerid));
   return 1;


This is just the basic layout of a simple command. Thank you.
Back to top Go down
View user profile
Make Simple & Fast Commands
Back to top 
Page 1 of 1
 Similar topics
» wolf pack rp make your own charter
» Alchemy- to ban or not to ban?
» Memory-Make Magic
» I can make your OC's MMD models (if you use mmd)
» Prepare for Trouble, Make it Double [Open]

Permissions in this forum:You cannot reply to topics in this forum
Island Life Prison Roleplay :: Tutorials :: Pawno Tutorials-
Jump to: