SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 23/03/2011, 10:40 AM   #1
IvancheBG
Huge Clucker
 
Join Date: Jan 2011
Location: Bulgaria,Sofia
Posts: 343
Reputation: 10
Default /help command

How to make a /help command to show all teleports and others
IvancheBG is offline  
Old 23/03/2011, 10:42 AM   #2
HyperZ
High-roller
 
HyperZ's Avatar
 
Join Date: Aug 2009
Posts: 1,341
Reputation: 66
Default Re: /help command

OnPlayerCommandText:
pawn Code:
if (strcmp("/help", cmdtext, true, 10) == 0)
{
    SendClientMessage(playerid, -1,"bla bla bla");
    SendClientMessage(playerid, -1,"bla bla bla");
    SendClientMessage(playerid, -1,"bla bla bla");
    SendClientMessage(playerid, -1,"bla bla bla");
    SendClientMessage(playerid, -1,"bla bla bla");
    return 1;
}
Check this also: http://wiki.sa-mp.com/wiki/OnPlayerCommandText
HyperZ is offline  
Old 23/03/2011, 10:47 AM   #3
IvancheBG
Huge Clucker
 
Join Date: Jan 2011
Location: Bulgaria,Sofia
Posts: 343
Reputation: 10
Default Re: /help command

thanks
IvancheBG is offline  
 

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
[Command Bugged] Each time i use /respawnallcars it says Unknown Command Rand_Omar Scripting Help 11 30/09/2012 12:35 AM
SERVER: Unknown Command but the Command works anantanni Help Archive 13 19/03/2011 05:00 AM
[HELP] A timer on a command(triggered, whatever) + find command Biesmen Help Archive 5 07/10/2010 08:01 PM
how i change wrong command (unknow command) OmarEco Help Archive 10 22/06/2010 04:09 PM
SERVER: Unknown Command when using a scripted command and it does execute! Moustafa Help Archive 6 11/06/2010 01:34 PM


All times are GMT. The time now is 02:59 PM.


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