C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodesvx-rp.pwn(18130) : error 029: invalid expression, assumed zero
C:Documents and SettingsNicu-PCDesktopgamemodes(18130) : error 001: expected token: ",", but found "return"
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18131) : error 076: syntax error in the expression, or invalid function call
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18132) : error 029: invalid expression, assumed zero
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18132) : warning 215: expression has no effect
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18132) : error 001: expected token: ";", but found "]"
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18132) : error 029: invalid expression, assumed zero
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodesv18132) : fatal error 107: too many error messages on one line
Comenzile sunt aceastea
CMD:acolinda(playerid,params[])
{
new stringC[128];
if(sscanf(params, "u", suma)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /acolinda [suma]");
if(colinda == 0) return SendClientMessage(playerid,-1,"Nimeni nu vrea sa te colinde");
else
{
format(stringC, sizeof(stringC), "a acceptat colinda");
SendPlayerMessageToPlayer(IDT,playerid,stringC);
PlayAudioStreamForPlayer(IDT,"http://k003.kiwi6.com/hotlink/y1sudszr8h/Jingle_Bell_Rock-_Lyrics.mp3");
GivePlayerMoney(IDT,-20);
}
return 1;
}
CMD:colinda(playerid,params[])
{
new stringC[128];
GetPlayerName(playerid, IDC, sizeof(IDC));
if(sscanf(params, "u",) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /colinda [ID]");
if(!IsPlayerConnected) return SendClientMessage(playerid, -1, "Playerul nu este conectat !");
if([playerid] == playerid) return SendClientMessage(playerid, -1, "Nu poti sa te colinzi singur");
else
{
format(stringC, sizeof(stringC), "vrea sa te colinde");
SendPlayerMessageToPlayer(playerid,stringC);
colinda=1;
}
return 1;
}
Question
KingZone
In gamemode am erorile astea va rog ajutor
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodesvx-rp.pwn(18130) : error 029: invalid expression, assumed zero
C:Documents and SettingsNicu-PCDesktopgamemodes(18130) : error 001: expected token: ",", but found "return"
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18131) : error 076: syntax error in the expression, or invalid function call
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18132) : error 029: invalid expression, assumed zero
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18132) : warning 215: expression has no effect
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18132) : error 001: expected token: ";", but found "]"
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodes(18132) : error 029: invalid expression, assumed zero
C:Documents and SettingsNicu-PCDesktopVirtual RPGgamemodesv18132) : fatal error 107: too many error messages on one line
Comenzile sunt aceastea
CMD:acolinda(playerid,params[]) { new stringC[128]; if(sscanf(params, "u", suma)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /acolinda [suma]"); if(colinda == 0) return SendClientMessage(playerid,-1,"Nimeni nu vrea sa te colinde"); else { format(stringC, sizeof(stringC), "a acceptat colinda"); SendPlayerMessageToPlayer(IDT,playerid,stringC); PlayAudioStreamForPlayer(IDT,"http://k003.kiwi6.com/hotlink/y1sudszr8h/Jingle_Bell_Rock-_Lyrics.mp3"); GivePlayerMoney(IDT,-20); } return 1; } CMD:colinda(playerid,params[]) { new stringC[128]; GetPlayerName(playerid, IDC, sizeof(IDC)); if(sscanf(params, "u",) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /colinda [ID]"); if(!IsPlayerConnected) return SendClientMessage(playerid, -1, "Playerul nu este conectat !"); if([playerid] == playerid) return SendClientMessage(playerid, -1, "Nu poti sa te colinzi singur"); else { format(stringC, sizeof(stringC), "vrea sa te colinde"); SendPlayerMessageToPlayer(playerid,stringC); colinda=1; } return 1; }Edited by Джо2 answers to this question
Recommended Posts