Search Results
PHP Code:         PlayerInfo[id][Duelingto] = -1;        PlayerInfo[id][Maker] = -1;        PlayerInfo[id][Opponent] = -1;        PlayerInfo[playerid][LoseDue...
948
Using SetTimerEx. PHP код: //Under the playing being told he's paying $50 //You'll be needing a public variable for each player. i.e. new BikeRentTimer[MAX_PLAYERS]; BikeRent...
155
PHP код: forward Tutorial1(playerid);public Tutorial1(playerid){    ClearChatbox(playerid, 100);    SetPlayerVirtualWorld(playerid, 0);    SetPlayerInterior(playerid,0);    ...
199
I'm gonna suggest mSelection to make your life easier
188
PHP Code: #define MainDutyLocker 1 //Examples, if you have dialogs in your script already, change the numbers #define DutyLockerEquipment 2 //Examples, if you have dialogs in...
180
PHP код: ShowDialog(playerid, DIALOG_TUTO, DIALOG_STYLE_MSGBOX, "{0092FF}|____ Fin ____|", "{0092FF} Felicidades! {FFFFFF} por llegar hasta el final. Si necesita mбs ayuda, u...
226
If you're doing a next page and back page it's simple. Hide the textdraws for the page you're on using PlayerTextDrawHide. Then simply show the textdraws for the new page using PlayerTextDrawShow. U...
188
I can give you the theory behind it but I can't script it for you, because you've given nothing to work with... When setting the VIP you need to store the time to a variable for the player (if they'r...
117
PHP код: new giveplayerid, float:health;if(sscanf(params, "uF", giveplayerid, health)){    SetPlayerHealth(giveplayerid, health);}  Using sscanf you format the input, your first...
299
https://sampforum.blast.hk/showthread.php?tid=351065 Have a search around the forums first, before asking your questions. You'll find many people asking how to send emails along with many answers t...
253
InterpolateCameraPos doesn't seem to be the function you want from what you're saying. InterpolateCameraPos moves the camera from one set of coordinates to another in a set time. It sounds to me you j...
177
Yeah, in theory, if you printed everything inside of Value array, it should print 0 up until 31 (count starts at 0) then more 0's until 56 (count starts at 0) where it would write another 1. If that ...
117
Probably something to do with your HouseID variable, possible that it's value is 0 and that's why you're having this issue.
125
Just seen you're trying to do some sort of mechanic thing. I would just use something like this, but you'd have to change the interaction key from Enter, to avoid the player getting in the vehicle. ...
189
Are you trying to repair the vehicle when the player enter's the vehicle? Or are you doing a type of pay and spray where you are at a specific location, press enter and then it repairs the vehicle?
189
Not sure if you can use CreateDynamicObject or if it's just CreateObject (not messed around with 0.3d too much) However, both of those have the ability to rotate: PHP код: CreateObject(modeli...
146
0xFF0000FF = blue 0xFFFF0000 = red 0xFFRRGGBB 0xFF = Opacity (FF = 100%, 00 = 0%) RR = Red GG = Green BB = Blue Just search for a hex generator, find one and then whatever color you want, just put...
207
0000FF is the hex for blue FF0000 is the hex for red.
207
GangZoneFlashForAll I can't remember if this flashes white and then the color you set or the current color and then the new color, give it a go though. If it's not what you're after (which I think i...
168