13.02.2019, 01:18
i'm doing a minigame and I want that when the users execute the command to enter I warn the other users but I miss this error
This is my code
Код HTML:
C:\Users\PC\Desktop\samp037_svr_R2-1-1_win32\filterscripts\RocketD.pwn(44) : error 029: invalid expression, assumed zero C:\Users\PC\Desktop\samp037_svr_R2-1-1_win32\filterscripts\RocketD.pwn(44) : error 017: undefined symbol "name" C:\Users\PC\Desktop\samp037_svr_R2-1-1_win32\filterscripts\RocketD.pwn(44) : warning 215: expression has no effect C:\Users\PC\Desktop\samp037_svr_R2-1-1_win32\filterscripts\RocketD.pwn(44) : error 001: expected token: ";", but found "]" C:\Users\PC\Desktop\samp037_svr_R2-1-1_win32\filterscripts\RocketD.pwn(44) : fatal error 107: too many error messages on one line
Код HTML:
CMD:rocketd(playerid,params[]) { (this is the line of error)new string[128];, name [MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); { format(string, 128, "{FFFFFF}%s {FFCC00}has entered the minigame of{FFFF00} [Rocket-Survive] {FFCC00}(/rocketd)", GetPlayerName(playerid)); SendClientMessageToAll(-1, string); return 1; }