[Pomoc] OnPlayerPickUpPickup

Započeo [MX] MineCraft Kruno1407 SoaD Macaskill.cpp, Oktobar 11, 2010, 14:02:46 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Ovako..napravio sam za pickup da mi pise nes ali izbaci mi error

C:\Documents and Settings\Administrator\Desktop\Lockerz RP\gamemodes\gf.pwn(3769) : error 029: invalid expression, assumed zero


A pod OnPlayerPickUpPickup imam

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Posao)
    SendClientMessage(playerid, 0xFFFFFF, "Za uzeti ovaj posao upisi /posao");
    return 1;
}


Pomagajte Molim Vas!

ZicMortal

Di su ti vitičaste zagrade?

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Posao) {
    SendClientMessage(playerid, 0xFFFFFF, "Za uzeti ovaj posao upisi /posao"); }
    return 1;
}


public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Posao) return SendClientMessage(playerid, 0xFFFFFF, "Za uzeti ovaj posao upisi /posao");
    return 1;
}
Kristijan Stipić