Search Results
Use this: Quote: if(IsNumeric(inputtext) ) { if(PlayerInfo[playerid][pCash] >= strval(inputtext)) {
54
An NPC is something that you, the server owner, would have to make, what is the purpose in banning it?
183
This is because for some obscure reason you are using the playerid to store the vehicle variables, rather than the vehicleid. Use this: pawn Код: VehicleInfo[GetPlayerVehicleID(playerid)] Etc.
106
Nice job stealing! Most of this is from https://sampforum.blast.hk/showthread.php?tid=95064, just changed a few lines. Lol, poser.
144
Could you try using a long or a double?
114
You know that all pawn Код: #define COMMAND:%1(%2)  forward cmd_%1(%2); \            zcount++; \            public cmd_%1(%2) Does is search the entire script for every instance of "C...
155
Use this function instead: https://sampwiki.blast.hk/wiki/SetTimerEx
177
pawn Код: #define COMMAND:%1(%2)  forward cmd_%1(%2); \            zcount++; \            public cmd_%1(%2) Might work ( I am not sure how the code outside of the functions are run), ...
155
Uhm... Shouldn't you be using "dini_Get" ?
156
Quote: Originally Posted by Darien now i can open doors next time but, theres are 1 mistake left. I need tht i MUST type correct password, because now i can open without password Does i...
153
You need to use... pawn Код: forward CloseDoors();public CloseDoors(){    MoveDynamicObject(labdoor, 2674.99438477,3967.00122070,5.57493162, 2.0); // close the doors here    DoorStatus = 0; ...
153
You need to tell people that using.. Quote: #include "file" looks in the script's parent folder, not the include folder.
1,421
pawn Код: new Text:Logo;public OnGameModeInit(){       Logo = TextDrawCreate(320.0, 100.0, "My Text");    TextDrawSetOutline(Logo, 1);    TextDrawFont(Logo, 3);    TextDrawBackgroundColo...
196
GetVehiclePos(c,x,y,z); returns a finite position, you need to use a GetDistanceFromPlayer(5.0, playerid, x, y, z) function or the like. EDIT: Also too late.
88
Quote: Originally Posted by Delux13 You actually aren't inserting it. pawn Код: format(tmp,sizeof(tmp),"SELECT * FROM `users` WHERE `username`=LOWER('%s')",PlayerName(playerid)); You s...
190
Yes, you seem to not have the right streamer plugin running... https://sampforum.blast.hk/showthread.php?tid=102865
94
Quote: Originally Posted by Antonio [G-RP] I've tried to change it manually, it goes back. REINSTALL? =( lol Well if you are saying that it goes back every time you close the game, it ...
179
If you don't know how to change your resolution manually go to... http://www.cybertechhelp.com/tutoria...een-resolution - Windows 2000/XP http://windows.microsoft.com/en-US/w...een-resolution - Wind...
179