Help me please Command Processor :(
#1

What could be the problem?
Command processor DC_CMD, probyval ZCMD, MCCMD, nothing helps.
Admin commands do not work only on the ID 0 .

UPDATE:
And now start gradually spread to other IDs .

Example command :

PHP код:
CMD:gethere(playeridparams[]) 

    if(!
User[playerid][Login]) return true
    if(
GetPVarInt(playerid,"Admins") < || !GetPVarInt(playerid,"AdminLogin")) return true
    if(
sscanf(params"u",params[0])) return SendClientMessage(playeridCOLOR_WHITE,"Введите: /gethere [id]"); 
    new 
Float:p[3]; 
    if(
GetPlayerState(params[0]) != && GetPlayerState(params[0]) != && GetPlayerState(params[0]) != 3) return SendClientMessage(playeridCOLOR_GREY"Игрок не вступил в игру!"); 
    if(
GetPVarInt(params[0], "AFK_Time") > 1) return SendClientMessage(playeridCOLOR_GREY"Игрок находится в AFK режиме!"); 
    
GetPlayerPos(playeridp[0], p[1], p[2]); 
    if(
GetPlayerState(params[0]) == 2SetVehiclePos(GetPlayerVehicleID(params[0]), p[0], p[1]+4p[2]); 
    else 
SetPlayerPos(params[0], p[0], p[1]+2p[2]); 
    
SetPlayerInterior(params[0],GetPlayerInterior(playerid)); 
    
SetPlayerVirtualWorld(params[0],GetPlayerVirtualWorld(playerid)); 
    
SendClientMessage(params[0], COLOR_WHITE"Вас телепортировал к себе Администратор Montana State"); 
    return 
true



Text error:

PHP код:
Игрок не вступил в игру
Reply
#2

Maybe some English in your error would be nice.
Reply
#3

Judging from your English I can tell these are translated, post this in your spoken language's section.
Reply
#4

english please xD
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)