Search Results
Something is wrong typed with the MySQL code, check that all strings have ' ' or " ".
Do you got all the tables and are you connected to your MySQL Server?
230
You'll have to create everything from the start, since there isn't a backpack system in GTA, however I don't think you have the scripting skills required to do that.
You should start with something mo...
121
You have to use the function SetSpawnInfo(playerid, blablabla); before you can spawn a player or that error will occour. Hope it helped
291
Код:
if(diloagid == dialogid +2){//why are you doing it as this? "dialogid+2"???? and use switch, they are much faster then if
if(response){
switch(listitem){
case 0:{
//ls spawn
}
case 1:{
//sfls...
356
You'll have to use
ShowPlayerDialog(playerid, blablabla);
OnDialogResponse(playerid, blablabla);
and then you'll have to create a variable like:
Код:
new adminpassword[30] = "My Cool Admin Passw...
138
https://sampwiki.blast.hk/wiki/TextDrawColor
https://sampwiki.blast.hk/wiki/TextDrawBoxColor
https://sampwiki.blast.hk/wiki/TextDrawBackgroundColor
Use this to define the hight://don't know how you de...
294
just do it:
Код:
GetVehicleHealth(vehicleid, DynamicCars[idx][cHealth]);
//why doing one more variable when you can save it directly?
and as cosbraa said, "Did you declare cHealth as a Float in yo...
222
Quote:
Originally Posted by [ABK]Antonio
They aren't faster
yes they are, check this out https://sampforum.blast.hk/showthread.php?tid=151076
713
Yes, enums is used to store data, like
Code:
playerinfo[playerid][money] = 10000;
INDEX NAME (Giving it a value)
that means that you give 10k money to a player, you can do that ...
713
Yes, PVars can be used throught different filterscripts/gamemodes and you should use them becuse they are faster to
These enums that you are using at the moment are only usable within your gamemode(o...
713
Do you got any variable in your script that is named
Registered[MAX_PLAYERS];
Othervise you'll have to create one and define when it should be set to 1 etc.
260
Is it that when you spawn your car and it explode it respawn at the spawning location, if it is then you'll have to use
https://sampwiki.blast.hk/wiki/OnVehicleDeath
and destroy the car that "died".
...
425
change "worldid = -1"
to the worldid you want the object to be in.
Hope it helped.
232
Quote:
Originally Posted by mrsamp
pawn Код:
MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed);
of course you can, use this:
https://sampwiki.blast.hk/wiki/MoveOb...
191
Quote:
Originally Posted by cod5devious
Like bullet particals?
CTRL are automaticly the shooting button in gta-sa, if you want to change it go to "options/keybindings" or something like...
275
use https://sampwiki.blast.hk/wiki/GetVehicleZAngle like:
Код:
GetPlayerFacingAngle(playerid, Ang);
//then it should work.
Hope it helped
314
pawn Код:
//OnDialogResponse'if(dialogid = YOUR_DIALOGID){Switch(listitem){case 0:ShowPlayerDialog(bla, bla, bla);case 1:ShowPlayerDialog(bla, bla, bla);case 2:ShowPlayerDialog(bla, bla, bla);}}
...
185
Quote:
Originally Posted by Roko_foko
Is there a reason why you want to use Player Vars or just for fun?
Just because they are faster then normal array/variables.
378
Bumb, woho I waited for 48h
This forum requires that you wait 120 seconds between posts. Please try again in 43 seconds.
378