couldnot
Active member
- Joined
- Dec 24, 2018
- Messages
- 25
- Reaction score
- 1
I have this script and i want to use /cmd id reason
and in chat i want it to appear like this /say playername(id) is gay, Reason : bla bla
/sex id
The script detects the player id and player name prefectly but not the reason, any help ?
and in chat i want it to appear like this /say playername(id) is gay, Reason : bla bla
/sex id
The script detects the player id and player name prefectly but not the reason, any help ?
PHP:
:cmd_70294
SAMP.IsCommandTyped(20@)
if
0AD4: 4@ = scan_string 20@ format "%d %s" 21@ 22@
else_jump @cmd_70295
1@ = SAMP.GetPlayerNickname(21@)
msg "/say This player is gay %s(%d), reason : %s." 1@ 21@ 22@
msg "/sex %d" 21@
jump @cmd_70296
:cmd_70295
msg "{B8DBFF}Syntax: /sex <Playerid> <Reason>" -1
:cmd_70296
SAMP.CmdRet
Code: