teleport cmd with SSCANF.
#2

PHP код:
COMMAND:admina(playeridparams[])
{
    if(!
adminLevel(playerid3))
    {
    return 
0;

        new 
message[128];  //line 95
        
changeAlog(playerid"Use /admina command.");   //line 96
        
format(messagesizeof(message), "You have been teleported to Admins Area !!");
        
SetPlayerPos(playerid,  295.82523, -1797.978034.54306);
        
SendClientMessage(playerid, -1message);
    }
    return 
1;

it should work
Reply


Messages In This Thread
teleport cmd with SSCANF. - by aymane123 - 01.01.2017, 11:40
Re: teleport cmd with SSCANF. - by RyderX - 01.01.2017, 11:59
Re: teleport cmd with SSCANF. - by Yaa - 01.01.2017, 12:03
Re: teleport cmd with SSCANF. - by aymane123 - 01.01.2017, 12:06
Re: teleport cmd with SSCANF. - by aymane123 - 01.01.2017, 12:08
Re: teleport cmd with SSCANF. - by RyderX - 01.01.2017, 12:10
Re: teleport cmd with SSCANF. - by iLearner - 01.01.2017, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)