C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2036) : error 028: invalid subscript (not an array or too many subscripts): "Member" C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2036) : warning 215: expression has no effect C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2036) : error 001: expected token: ";", but found "]" C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2036) : error 029: invalid expression, assumed zero C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2036) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
if(strcmp(cmd, "/oc", true) == 0) { if(Member[playerid] == -255) return 0; new length = strlen(cmdtext); new playername[MAX_PLAYERS]; new string[256]; while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /oc [text]"); GetPlayerName(playerid, playername, sizeof(playername)); format(string,sizeof(string),"OrgChat - %s : %s", playrename,result); if(Member[playerid] != -255) { for(new i=0;i<MAX_PLAYERS;i++) { if(IsPlayerConnected(i) && Member[i] == Member[playerid]) SendClientMessage(i,COLOR_MAIN,string); } } return 1; } |
Quote:
|
Are you mentally retarded? Can you not use your old threads and stop making new ones? You're doing the same thing on and on again, even after loads of people told you, and here you are again, making another thread for the same thing. I'll embrace to you what Konstantinos said to you numerous times:
Sort it. |
Jeeze, man calm down there's no need to be rude. Was i rude to you i don't think so, and if i was mentally retarded i wouldn't be able to open the internet up. I'll give it a shot and see
|
I'm as calm as a dead rabbit. You wasn't being rude but you was being ignorant, someone pecking your head with the same questions over and over does do your head in sometimes. Try what Konstantinos said anyway, it should work.
|
C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(153) : error 021: symbol already defined: "Member" C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(652) : error 032: array index out of bounds (variable "PlayerInfo") C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(769) : error 032: array index out of bounds (variable "PlayerInfo") C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(770) : error 032: array index out of bounds (variable "PlayerInfo") C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(772) : error 032: array index out of bounds (variable "PlayerInfo") C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2037) : error 028: invalid subscript (not an array or too many subscripts): "Member" C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2037) : warning 215: expression has no effect C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2037) : error 001: expected token: ";", but found "]" C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2037) : error 029: invalid expression, assumed zero C:\Users\Hussain\Desktop\PulseRP v0.1\gamemodes\PRP.pwn(2037) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors. |