Help. Teleport SSCANF [URGENT]
#5

PHP код:
#define isnull(%1) ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
CMD:teleport(playeridparams[]) {
    if(
isnull(params)) return SendClientMessage(playerid, -1"/teleport <name>!");
    if(!
strcmp(params"LV"true)) {
        
//Teleport to LV
    
}
    else if(!
strcmp(params"LS"true)) {
        
//Teleport to LS
    
}
    else 
SendClientMessage(playerid, -1"Not a valid teleport name!");
    return 
1;

Not tested.
Reply


Messages In This Thread
Help. Teleport SSCANF [URGENT] - by Sam15 - 02.11.2015, 08:28
Re: Help. Teleport SSCANF [URGENT] - by Sam15 - 02.11.2015, 10:45
Re: Help. Teleport SSCANF [URGENT] - by FreAkeD - 02.11.2015, 10:49
Re: Help. Teleport SSCANF [URGENT] - by Commands - 02.11.2015, 11:19
Re: Help. Teleport SSCANF [URGENT] - by J0sh... - 02.11.2015, 11:34
Re: Help. Teleport SSCANF [URGENT] - by Commands - 02.11.2015, 11:35
Re: Help. Teleport SSCANF [URGENT] - by J0sh... - 02.11.2015, 11:39
Re: Help. Teleport SSCANF [URGENT] - by Commands - 02.11.2015, 11:45
Re: Help. Teleport SSCANF [URGENT] - by J0sh... - 02.11.2015, 11:46
Re: Help. Teleport SSCANF [URGENT] - by Commands - 02.11.2015, 11:54

Forum Jump:


Users browsing this thread: 1 Guest(s)