Search Results
why this cmd respan all vehicles even if players in the vehicles!!!
pawn Код:
stock IsVehicleUnOccupied(vehicleid){ for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConne...
85
so explain this please:
RandomEx(1,50);
50 - 1 = 49
random(49);
if it will not choose 49, so it will choose 48
48+1 = 49
so 50 is out ?
147
max = 5. min = 1
5 -1 = 4
4+ 1 = 5
so this is the same of random(5)
147
pawn Код:
if(numrand == 0) { numrand += 0; }
if i don't want number "0" includes the random do i put "+= 0" or "+= 1"
147
pawn Код:
if(gminutes == 11 && gseconds == 0){ for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(LottoPurchased[i] == tru...
76
hey i made a lotto command using ZCMD, part of the command:
pawn Код:
if(sscanf(params, "i", lottonum)) return SendClientMessage(playerid, COLOR_WHITE, "/lotto [0 - 100]");
how to make a message...
94
Quote:
Originally Posted by Koala818
Huh, just what i saw. You'd want to verify if the killerid is not INVALID_PLAYER_ID. Because:
pawn Код:
public OnPlayerDeath(playerid, killerid, r...
177
but on deathlist it doesn't show that the killer id is invalid id,
it shows it like:
Cop Player Wanted Player
177
I already have this in OnPlayerSpawn. if this what causes the problem, it will make it happen in all kind of arrests.
/arrest command: works perfect
/jail command for admins: works perfect
Wanted dea...
177
Quote:
Originally Posted by iThePunisher
show us the public SendPlayerToJail(playerid);
i already show this.
Quote:
Originally Posted by rockhopper
Dont use random jails Ma...
177
Quote:
Originally Posted by iZN
You're actually not getting my point. For example, if your hit money is $55, so 55*75/100 = 41.25 which is an INVALID value for money. If it's for different...
172
Quote:
Originally Posted by iZN
Money can't be a float! 0.75 is a float value. Just multiply it with some integer, not float.
i hope it will work if i do:
pawn Код:
new NewMoney= Hi...
172
NewMoney is a under a command.
HitMoney is a variable on the top of the script.
172
what's wrong in here ?
pawn Код:
new NewMoney = HitMoney[targetid] * 0.75;
172