Jump to content
  • 0

pomoc error


Malklar

Dotaz

Ahoj

Nevíte kde mám problém?

 

 

 

 

#include <a_samp>
#include <mSelection>
#include <zcmd>
#include <YSI\y_ini>
#include <streamer>

 

 

 

 

 

pwn(33) : error 025: function heading differs from prototype

 

 

 

33           public OnPlayerModelSelection(playerid, response, listid, modelid)
            {
                if(listid == skinlist)
                {
                  if(response)
                   {
                   SendClientMessage(playerid, COLOR_GREEN, "Vybral jste si a zaplatil 10000$!");
 
 
Díky za radu 

Poradí někdo? 

Link to comment
Share on other sites

12 odpovědí na tuto otázku

Recommended Posts

  • 0

Ahoj

Nevíte kde mám problém?

 

 

 

 

#include <a_samp>
#include <mSelection>
#include <zcmd>
#include <YSI\y_ini>
#include <streamer>

 

 

 

 

 

pwn(33) : error 025: function heading differs from prototype

 

 

 

33           public OnPlayerModelSelection(playerid, response, listid, modelid)
            {
                if(listid == skinlist)
                {
                  if(response)
                   {
                   SendClientMessage(playerid, COLOR_GREEN, "Vybral jste si a zaplatil 10000$!");
 
 
Díky za radu 

Poradí někdo? 

Ehmm ti máš len tu ttak alebo to nemáš ukončeni ?

Link to comment
Share on other sites

  • 0
  • Globální moderátor

 

Ehmm ti máš len tu ttak alebo to nemáš ukončeni ?

Toto už je moc... V akom jazyku hovoríš? :d:rofl:

Link to comment
Share on other sites

  • 0

Pane Bože už! -_- Opravdu,pořád do něj musíte rejpat? Vždyť mu chce poradit a ty hned do něho rejpat.. Máte proti sobě něco? Vyřiďte si to .. Ale opravdu to není příjemné. Zkus se vžít do jeho kůže. Jaké by ti to bylo,kdyby tě pořád někdo buzeroval?! Příjemné? To asi těžko! .. -_-

Link to comment
Share on other sites

  • 0
  • Globální moderátor

Pane Bože už! -_- Opravdu,pořád do něj musíte rejpat? Vždyť mu chce poradit a ty hned do něho rejpat.. Máte proti sobě něco? Vyřiďte si to .. Ale opravdu to není příjemné. Zkus se vžít do jeho kůže. Jaké by ti to bylo,kdyby tě pořád někdo buzeroval?! Příjemné? To asi těžko! .. -_-

 

na skype mu radím x-krát za deň a nevadí mi to(insanovi), vždy mu pomôžem.... Ja si ho len tak doberam, ale je vtipné keď niekto napíše takúto vec -"ti máš len tu ttak alebo to nemáš ukončeni ?"

Link to comment
Share on other sites

  • 0
#define FILTERSCRIPT

 

#include <a_samp>

#include <mSelection>

#include <zcmd>

#include <YSI\y_ini>

#include <streamer>

 

#define COLOR_GREEN         0x33CC33C8

#define COLOR_RED   0xFF0000C8

#define UserPath "/PlayerSkins/%s.ini"

 

new skinlist = mS_INVALID_LISTID;

new CheckPoint1;

 

public OnPlayerConnect(playerid)

{

    return 1;

}

 

public OnPlayerSpawn(playerid)

{

    return 1;

}

public OnFilterScriptInit()

{

    skinlist = LoadModelSelectionMenu("skin.txt");

    CheckPoint1 = CreateDynamicCP(209.8976,-8.1425,1004.0009,2,-1,-1,-1,4);

    Create3DTextLabel("Koupit Skin!Za $10000!", 0x00CCFF, 209.8976,-8.1425,1005.2109, 40.0, 0, 0);

    return 1;

}

 

public OnPlayerModelSelection(playerid, response, listid, modelid)

{

    if(listid == skinlist)

    {

        if(response)

        {

        SendClientMessage(playerid, COLOR_GREEN, "Vybral jste si a zaplatil 10000$!");

        SetPlayerSkin(playerid, modelid);

GivePlayerMoney(playerid,-10000);

PlayerPlaySound(playerid,5453,0.0,0.0,0.0);

    }

        else SendClientMessage(playerid, COLOR_RED, "Zrušil jste Skin Shop");

        return 1;

    }

    return 1;

}

public OnPlayerEnterDynamicCP(playerid , checkpointid)

{

    if(checkpointid == CheckPoint1)

    {

        if(GetPlayerMoney(playerid) <10000) return SendClientMessage(playerid, COLOR_RED, "Nemáte dost peněz");

        ShowModelSelectionMenu(playerid, skinlist, "Skins");

        return 1;

    }

    return 1;

}
Link to comment
Share on other sites

  • 0

na skype mu radím x-krát za deň a nevadí mi to(insanovi), vždy mu pomôžem.... Ja si ho len tak doberam, ale je vtipné keď niekto napíše takúto vec -"ti máš len tu ttak alebo to nemáš ukončeni ?"

 

Asi takto > Každý píše,jak píše .. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...