#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
#2

Do you have any Stock for sending admin messages ?
Reply
#3

Код:
S_SRVBOJA,
You have to omit that extra comma there in your format.
Reply
#4

Thanks man. It was problem with comma
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)