Jump to content
  • 0

Ajutor


KingZone

Question

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 Джо
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.