Search Results
Thanks for the link, but I wanted something that would allow me to create/manip bit arrays. I know 8 is 0100 and I know the theory behind binary maths. That's not the problem.
Say i had number of yes...
141
Does Pawn have support for bitfields.
I want to keep a status array thing and it would be major convenience to be able to binary operations directly on that array. Will also save a lot of memory.. H...
141
OnPlayerClickTextDraw is called only when a player clicks a textdraw or escapes from it, not under OnPlayerUpdate. [Use
pawn Код:
CallLocalFunction()
??]
Text:Clickedid can be cycled through with...
329
Which callback did you put your code under?
307
Thanks, that one works. Any idea why GetPlayerState is causing problems?
99
Код:
CMD:weapons(playerid)
{
//{250,300,1500,1000,1200,1300,1500,2000,2100,500,500,2100,2400,500,3000}
if(GetPlayerState(playerid)!=PLAYER_STATE_WASTED)
{
ShowPlayerDialog(playerid,D_WEAPON...
99
Thanks ,thought so but I don't mind asking~
91
if i do this :
pawn Код:
#if defined MAX_PLAYER_NAME#undef MAX_PLAYER_NAME#endif #define MAX_PLAYER_NAME 30
is it going to cause problems ?(ingame)
91
116
You know,see the wiki they have one with commands ,of course use YINI(if you can!)
55
Quote:
Originally Posted by kartik
pawn Код:
stock PID(const Name[]){ for(new i; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new pName[MAX_...
124
The variable j is out-of-scope by the time you use it under
public zOnetExt(playerid).
When you use the for loop:
pawn Code:
for(new j=0; j<sizeof(zones);j++) { if...
160
Inside the for loop !
Anyways , PM me the CODE YOU are using ! or just post it here !
160
Quote:
Originally Posted by JEkvall95
I havent but I got that lcode from JusstinRoller
https://sampforum.blast.hk/showthread.php?tid=384264
pawn Code:
public zOnetExt(playerid){ fo...
160
You could bother giving a few lines above and below it ?
PS: you sure you have defined the index j ?
160