• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Command Parameters

Status
Not open for further replies.

Xele

Enthusiast
hi there,

i wanna makes a command takes 3 parameters like:

.raid icc10n tank 5700

but i don't know how to extract them from args

if needs more info please ask
 

Jameyboor

Retired Staff
Use strtok:
Code:
strtok(args, " "); //first arg
strtok(NULL, " "); // second arg
strtok(NULL, " "); // third arg
 
Status
Not open for further replies.
Top