Search Results
Well, for a first, you already have another strtok function. Find and delete one of them.
111
Hello, I've used an array to store the values AddStaticVehicleEx return. And when I print these values to the console, they both are 0. I'm not sure if the values are getting returned at all. Im using...
87
Line 94 and 111 need to be fixed. It is pawn Код: for(new i = 0, j = GetMaxPlayers(); i < j; i ++); but its supposed to be pawn Код: for(new i = 0, j = GetMaxPlayers(); i < j; i ++)
381
Why can't you just use playerid in OnPlayerPickupPickup? pawn Код: if(pickupid == cash)    {            new string[120], name[MAX_PLAYER_NAME];                GetPlayerName(playeri...
96
Quote: Originally Posted by [Aka]Dragonu It works thank you, but i have a problem it gives me 1 warning here is my OnPlayerEnterVehicle : pawn Код: public OnPlayerEnterVehicle(player...
169
Quote: Originally Posted by klk Код: static const oldmoney; oldmoney = GetPlayerMoneyEx(playerid); Bad. Код: static const oldmoney = GetPlayerMoneyEx(playerid); Good. pawn КÐ...
191
Because its in OnPlayerUpdate which is called 6-10 times per second.
191
Quote: Originally Posted by Antonio [G-RP] From my understanding, static means 'the same'. That might be why it complains (sort of speak) when you attempt to change the value. Yes, but ...
191
I know that. Before I changed it to static, it was new const and it worked fine. I mean can you explain lvalue and why it is giving that error.
191
pawn Код: static const oldmoney;oldmoney = GetPlayerMoneyEx(playerid); //Line 1258SetPlayerMoneyEx(playerid, oldmoney); pawn Код: (1258) : error 022: must be lvalue (non-constant) Still trying...
191
Do you mind showing the code? It would be much more easier.
98
Quote: Originally Posted by THE_KNOWN well i feel its only stating abt the declaration of vars. Why dont you just try you gm replacing it -.- im eagry for the results ;( Its not going...
195
Quote: Originally Posted by (SF)Noobanatior what is line 2160-2162? Line 2161 is commented on stock SetPlayerAmmoEx
195
Quote: Originally Posted by THE_KNOWN but i dont get it it had a stock tag b4 too. so all i did was replace the word "swtch" with "if". so if it doesnt check the code how did the error dis...
195
Quote: Originally Posted by THE_KNOWN erm i dont know it it will work but i just replaced the switch(weapon) to if(weapon) and it compiled without errors =P give it a try.(my first try to...
195
Rename the variable...
81
I'm trying my hands on a anti-weapon hack system and I'm getting this nasty error I can't seem to fix. I know there's an unmatched closing brace somewhere, but my eyes can't seem to find it... -.- May...
195
Quote: Originally Posted by Hal page 39 or around that on the y_ini topic. Thanks!
57
Can someone please explain to me how to read data from a file with y_ini? I'm confused with the pawn Код: INI:filename[tagname](name[], value[]){}
57