setvw
#1

I have this stevw command
PHP код:
CMD:setvw(playeridparams[])
{
    if(
PlayerInfo[playerid][Admin] < 2) return ERROR(playerid"Vi ne mozete korisiti ovu komandu!");
    new 
igracvwstring1[80], string2[60];
    if(
sscanf(params"ud"igracvw)) return KORISTI(playerid"/setvw [playerid/dio imena] [vw id]");
    
SetPlayerVirtualWorld(igracvw);
    
format(string1sizeof(string1), S_SRVBOJA"Info: "S_BIJELA"Uspjesno ste postavili virtualworld %d igracu %s!"vwGetName(igrac));
    
SCM(playerid, -1string1);
    
format(string2sizeof(string2), S_SRVBOJA"Info: "S_BIJELA"Admin vam je podesio virtualworld %d!"vw);
    
SCM(igrac, -1string2);
    return 
1;

Problem is that it won't send message to admin nor player fwhen changing virtual world of player..
Reply


Messages In This Thread
setvw - by Micko123 - 01.09.2016, 11:26
Re: setvw - by Hunud - 01.09.2016, 11:30
Re: setvw - by Gammix - 01.09.2016, 11:44
Re: setvw - by Micko123 - 01.09.2016, 11:49

Forum Jump:


Users browsing this thread: 1 Guest(s)