01.04.2010, 12:19
Quote:
Originally Posted by RSX
why aren't you just using if(RandStart) (same as ==1) and no returns? except for last one.
|
Код:
ok, i go to use if(RandStart == 0) { } if(RandStart == 1..900) { }
---
And the return 1 i writed in here, but i have writed good the return 1; in my gm xD
SOLVED
public DarObjetos(playerid)
{
new RandStart = random(901);
if(IsPlayerConnected(playerid))
{
if(RandStart == 0)
{
AddItem(playerid,"Maximos_Embargos",1);
}
if(RandStart >= 1 && RandStart <= 900)
{
}
}
return 1;
}