Search Results
Advanced scripter, been scripting for 3 years. Looking for work, paid only.
Message me or add me on skype: matty.slater2
184,446
Quote:
Originally Posted by park4bmx
that is to check if the timer is running not to stop it or anything...
Show how you call
"GasPumpSaleTimer()"
GasPumpTimer[playerid] = SetTimerEx(...
195
Quote:
Originally Posted by park4bmx
pawn Код:
if(GasPumpTimer[playerid] != -1) // running
Error still occuring after adding that in, it seems the timer won't stop..
195
Quote:
Originally Posted by park4bmx
how is this whole thing launched ?
looks like your have more then 1 timer or the timer is never killed because of not assigning it properly.
That's ...
195
pawn Код:
forward GasPumpSaleTimer(playerid, business);public GasPumpSaleTimer(playerid, business){ new iVehicleID = GetPVarInt(playerid, "Refuelling"), Float: fPumpAmount = 0.1 / 4, sz...
195
Quote:
Originally Posted by maddinat0r
You have to escape the string you want to use in a query. There should be a native like "mysql_escape_string" provided by the MySQL plugin you are us...
80
Okay, I have only recently noticed this and I am just wondering, is it just me or can you not have the apostrophe character in a mysql query? (')
Is there anyway around this?
Thanks in advance!
80
Omg, I know how to fix this!!
Sigh, don't use NGRP script! Simple, if you can't even set it up then just don't even bother.
111
Something like
foreach(Player, i)
{
new Float: x, Float: y, Float: z;
GetPlayerPos(playerid, x, y, z); // Getting the pos of the person who did /baitcar, you should place this out of the loop though
...
139
How would I do it? Where? This has really confused me
151
1. Don't use NGRP script.
2. Change .distance to .streamdistance and update your streamer.
104
pawn Code:
if(fexist(UserSavePath(playerid))) { INI_ParseFile(UserSavePath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); format(string, sizeof(string), "/Us...
151
pawn Code:
if(dialogid == DIALOG_LOGIN) { if(!response) return Kick(playerid); if(response) { new hinfo[20]; if(PlayerInfo[play...
151
This is pretty nice, thanks for the release!
504
Quote:
i think u have put the wrong coded use exist
What?
224
pawn Код:
stock SavePlayer(playerid){ if(gLoggedIn[playerid] == 1) { new INI:File = INI_Open(UserSavePath(playerid)); INI_SetTag(File,"Data"); INI_WriteInt(File, "Level", ...
224
Quote:
Originally Posted by Vince
Duh, strlen returns the length of the text (hence string length). Use strval.
Worked, thank you.
Rep'd
84