07.02.2016, 12:18
(
Последний раз редактировалось JohnBlaze1971; 07.02.2016 в 13:57.
)
I have seen many players requesting for simple codes for commands. Even they don't try. So i bought 27 commands for those beginner for understanding the following thing :
1) Making of commands through ZCMD.
2) Using sscanf for making commands.
3) Using of string , values and formats.
If the scripter goes through the codes by understanding them he can understand them well.
The list of commands i have included :
The list of those codes are made through the simplest form so that it can be understood by any scripter.
Correct me if i had went wrong somewhere.
Includes required :
a_samp
ZCMD
sscanf
Codes :
Through pastebin : http://pastebin.com/EbRa2HU4
Through dropbox(.pwn) : https://www.dropbox.com/s/eerkc0kiowtytvv/zcmd.pwn?dl=0
Through dropbox(.amx) : https://www.dropbox.com/s/5a04nqg08xam7dc/zcmd.amx?dl=0
Good luck with learning. I will come up with loops soon. I haven't used loops wantedly in this case. Good day.
1) Making of commands through ZCMD.
2) Using sscanf for making commands.
3) Using of string , values and formats.
If the scripter goes through the codes by understanding them he can understand them well.
The list of commands i have included :
Quote:
veh ( to spawn vehicle ) respawnveh ( to respawn vehicle ) heal ( to heal other player ) armour ( to give armour to other player ) healme ( to heal yourself ) getarmour ( to give armour to yourself ) setskin ( To set other player's skin ) skin ( To set your own skin ) cd ( Countdown for yourself ) cdforall ( countdown for all ) gotop ( for going to player ) get ( get other player to you ) slap ( slap other player at height you define ) slapme ( slap your self at the height you defined ) PM ( most common and best way to present ) givegun ( Give gun to other player ) Getgun ( gives you a gun ) me ( Send message to all ) shout ( same as me just the pattern differ ) w ( Whispering in the player in range of point 4.0 ) cleartext ( for near by players ) cleartextall ( clear texts for all player ) Kick ( kicks player with id defined ) Ban ( bans player with id defined ) Warn ( warns player with id defined ) Kill ( kills player with id defined ) Killme ( kill the player who types command ) |
Correct me if i had went wrong somewhere.
Includes required :
a_samp
ZCMD
sscanf
Codes :
Through pastebin : http://pastebin.com/EbRa2HU4
Through dropbox(.pwn) : https://www.dropbox.com/s/eerkc0kiowtytvv/zcmd.pwn?dl=0
Through dropbox(.amx) : https://www.dropbox.com/s/5a04nqg08xam7dc/zcmd.amx?dl=0
Good luck with learning. I will come up with loops soon. I haven't used loops wantedly in this case. Good day.