error 029: invalid expression, assumed zero ajuda ae
#1

linha 57: forward CannabisGrow(playerid);
linha 58: public CannabisGrow(playerid)
linha 59: {

erro linha 57 error 029: invalid expression, assumed zero
error 012: invalid function call, not a valid address
error 001: expected token: ";", but found ")"
fatal error 107: too many error messages on one line


forward CannabisGrow(playerid);
public CannabisGrow(playerid)
{
FakeCannabis[playerid] = 1;
SendClientMessage(playerid, COLOR_GROVE, "A sua planta de Cannabis jб pode ser colhida, use /colher para colhe-la.");
weedblip[playerid] = CreateObject(3409, 2541.9606933594, -1587.4586181641, 20.970590591431-1, 0, 0, 0);
forward Chegadadaheroina(playerid);
return 1;
}
Reply
#2

Try this , if im right .... , but you gave us code missing some parts
and for this

PHP код:
forward CannabisGrow(playerid);
public 
CannabisGrow(playerid)

FakeCannabis[playerid] = 1;
SendClientMessage(playeridCOLOR_GROVE"A sua planta de Cannabis jб pode ser colhida, use /colher para colhe-la."); 
weedblip[playerid] = CreateObject(34092541.9606933594, -1587.458618164120.970590591431-1000); 
forward Chegadadaheroina(playerid)
return 
1;

forward Chegadadaheroina(playerid);
Really ? ...

Try this ,

PHP код:
new FakeCannabis[MAX_PLAYERS]
new 
CannabisGrow[MAX_PLAYERS
PHP код:

forward CannabisGrow
(playerid); 
PHP код:
public CannabisGrow(playerid)
{
    
FakeCannabis[playerid] = 1;
    
SendClientMessage(playeridCOLOR_GROVE"A sua planta de Cannabis jб pode ser colhida, use /colher para colhe-la.");
    
weedblip[playerid] = CreateObject(1279769.3109, -1086.514924.0859-1000);
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)