if(!strcmp(cmd, \"/asay\")) { if (PlayerInfo[playerid][pAdmin] >= 1) return SendClientMessage(playerid,0xFFFFFFFF,\"Nem vagy admin !\"); new text[128]; new inputtext[128] if(sscanf(inputtext, \"s[128]\",text)) return SendClientMessage(playerid, 0xFFFFFFFF, \"Usage: /asay [text]\"); new pName[128]; GetPlayerName(playerid,pName,128); format(string,sizeof string,\"*Admin %s: %s\",pName,text); SendClientMessageToAll(0xA10000AA,string); return 1;}
C:\\samp\\gamemodes\\(12895) : error 076: syntax error in the expression, or invalid function callC:\\samp\\gamemodes\\(12895) : warning 204: symbol is assigned a value that is never used: \"inputtext\" if(!strcmp(cmd, \"/asay\")) { if (PlayerInfo[playerid][pAdmin] <= 1) return SendClientMessage(playerid,0xFFFFFFFF,\"Nem vagy admin !\"); new text[128] new inputtext[128] if(sscanf(strcmp, \"s[128]\",text)) return SendClientMessage(playerid, 0xFFFFFFFF, \"Usage: /asay [text]\"); new pName[128]; GetPlayerName(playerid,pName,128); format(string,sizeof string,\"*Admin %s: %s\",pName,text); SendClientMessageToAll(0xA10000AA,string); return 1;} Itt van 2 error nem jó! Segitsetek benne pls!
C:\\samp\\gamemodes\\(12895) : error 076: syntax error in the expression, or invalid function callC:\\samp\\gamemodes\\(12895) : warning 204: symbol is assigned a value that is never used: \"inputtext\" if(!strcmp(cmd, \"/asay\")) { if (PlayerInfo[playerid][pAdmin] <= 1) return SendClientMessage(playerid,0xFFFFFFFF,\"Nem vagy admin !\"); new text[128] new inputtext[128] if(sscanf(strcmp, \"s[128]\",text)) return SendClientMessage(playerid, 0xFFFFFFFF, \"Usage: /asay [text]\"); new pName[128]; GetPlayerName(playerid,pName,128); format(string,sizeof string,\"*Admin %s: %s\",pName,text); SendClientMessageToAll(0xA10000AA,string); return 1;}
if(!strcmp(cmd, \"/asay\")) { if (PlayerInfo[playerid][pAdmin] <= 1) return SendClientMessage(playerid,0xFFFFFFFF,\"Nem vagy admin !\"); new text[128] if(sscanf(strcmp, \"s[128]\",text)) return SendClientMessage(playerid, 0xFFFFFFFF, \"Használat: /asay [szöveg]\"); new pName[128]; GetPlayerName(playerid,pName,128); format(string,sizeof string,\"*Admin %s: %s\",pName,text); SendClientMessageToAll(0xA10000AA,string); return 1;}