#1

PHP код:
\\PC-\Users\Internet Cafe\Desktop\SAVE HERE\MGRP\gamemodes\MGRP.pwn(312) : error 001: expected token: ";", but found "-identifier-" 
PHP код:
CMD:shout(playerid, params[])
{
    new
        
str[128],
        
shout[128]
    ;
    
    if(
sscanf(params, "s[100]", shout))
        return 
SendClientMessage(playerid, -1, "USAGE: /(s)hout [message]")
        
    
format(str, sizeof(str), "%s shouts: %s!", GetName(playerid), shout);  // LINE 312
    
ProxDetector(50.0, playerid, str, -1);
    return 
1;
} 
Reply
#2

Learn to read the errors:
This error means that a ';' is missing
Код:
return SendClientMessage(playerid, -1, "USAGE: /(s)hout [message]"); // you missed the ';' here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)