Search Results
Don't know how to use INI_ParseFile without params, just reading from One single file .
what i tried: // example, I use it for other stuff which works same way as code below
pawn Код:
new Int1, I...
57
Yeah you're both right thanks rep+
77
Код:
new NumberNames[8][6] =
{
{"ZERO"},
{"ONE"},
{"TWO"},
{"THREE"},
{"FOUR"},
{"FIVE"},
{"SIX"}
}; //error here
Wanna use it in this form:
Код:
new string[255]; format(string, sizeo...
77
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
SendClientMessage(playerid, -1, "Komanda koju ste unijeli nije pronadjena, za pomoc oko komandi kucajte /pom...
120
accidentally posted
97
pawn Код:
new nascarwinner; // outside any callbackOnGameModeInit{ nascarwinner = INVALID_PLAYER_ID;}else if(nascarcheckpoints[playerid] == 13){ if(nascarwinner == INVALID_PLAYER_ID) // ...
97
Is it possible to use 2d array in enum?
ex
pawn Код:
enum a1 { Int,1d[64],2d[128][256] // ?}new A_1[a1];// So .. for(new aA = 0; aA < 128; aA++) if(strcmp("255 chars long text..", A_1[2d][aA])...
107
pawn Код:
new RaceFirstPosition = INVALID_PLAYER_ID;// When player enters final checkpointif(RaceFirstPosition == INVALID_PLAYER_ID){ RaceFirstPosition = playerid; SendClientMessage(play...
97
Yep,
pawn Код:
new Float:gRandomSpawns[][] ={ {1225.3550, -911.9344, 42.9042, 180.9877}, {1214.3273, -912.6891, 42.9221, 186.1474}, {1178.1221, -923.3962, 43.2824, 280.1066}, {...
160
Sorry for DP and bumping soon but I need to fix it ASAP, please any tips.
160
Oh, sorry, here:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason){ switch(PlayerInfo[playerid][pSpawn]) { case 0: //DEFAULT SPAWN { new R...
160
This freaks me out, so anyone who tries to help rep++
When (any player) dies for a first time this happens:
If I choose 'Spawn', if my Spawn is set to House than it puts me into house interior ID, ...
160
Use zonesystem filterscript if you want, https://sampforum.blast.hk/showthread.php?tid=161741
pawn Код:
new ZoneName[MAX_ZONE_NAME];GetPlayer2DZone(callerid, ZoneName, MAX_ZONE_NAME);new callerNa...
69
Quote:
Originally Posted by SupaVZ
why dont you use zcmd..? more better and faster
strcmp does better in this case, there is no command params
96
Quote:
Originally Posted by Clad
Basicly you're asking for a code to be made, Go to " Looking for scripters " section of the forum
He's right, you are requesting too much. This section ...
103
'Unknown command' appears when OnPlayerCommandText returns false. To avoid message you should add
pawn Код:
return 1;
Код:
if(strcmp(cmdtext, "/neon", true) == 0)
{
if(PlayerToPoi...
96
How much you are sure using right path ?
107
pawn Код:
YCMD:eq(playerid, params[], help){ #pragma unused help #pragma unused params if(GetPVarInt(-1, "EarthQuake") == 1337) { foreach(Player, i) { ...
240