argument 2
#1

picture share


PHP код:
new
        
string[128],
        
Name[128]
    ;
     
GetPlayerName(playerid,Name,sizeof(Name));
    
format(stringsizeof(string), "7[SPAWN] %s(%d) Has Spawned",Name,playerid);
    
IRC_GroupSay(gGroupIDIRC_CHANNEL,string); 
Reply
#2

new string[128];
new Name[128];
try to put it on top
Reply
#3

By reading the errors given above line 13527, "Name" symbol has been declared as global variable. I couldn't reproduce the argument type mismatch error by renaming the variable's name (in line 13525) to something else will most likely fix it.
Reply
#4

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
By reading the errors given above line 13527, "Name" symbol has been declared as global variable. I couldn't reproduce the argument type mismatch error by renaming the variable's name (in line 13525) to something else will most likely fix it.
thnx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)