Search Results
Hello there, unfortunately I haven't found a better map editor than MEd 0.32 in almost a decade of GTA modding, and one problem is really starting to render me completely desperate: The rotation val...
138
Z position is the same on all cars (assuming the ground is flat), if you want this system to work with all possible Z angles, it gets a lot more complicated. But I guess it's doable with cos and sin. ...
138
Okay, this is the basic idea: pawn Код: new Float:X, Float:Y; //Coordinates the car will spawn onnew columns = 5; //This is the number of columns. If you set it to 5, a new row will start every 5...
138
1) Do you mean global player IDs, or just when the player joined the race (first participant gets id 0, second 1, ...) 2) You need to figure out how many columns you want to have
138
pawn Код: if(IsPlayerInRangeOfPoint(playerid, ...) Add another ) to the end of these lines //Here: pawn Код: if(IsPlayerInRangeOfPoint(playerid, 20.0,1869.8599,-2493.2256,13.5547)){    I...
83
I didn't change that part, see if your dialogid and response are correct
102
1) The video is private 2) What does the "StopCutsceneForPlayer(playerid);" code look like
116
Try this: pawn Код: if(dialogid == DIALOG_REGISTER){    if(response)    {        if(!strlen(inputtext))        {            format(dr1, sizeof(dr1), "Welcome to ---, %s.", plnam...
102
Try this: pawn Код: "\users\%s.ini" The folder "users" needs to be in your "scriptfiles" folder. Also keep in mind that strcmp is true (0 in this case) if one of the strings is empty, you might...
95
This is never true: pawn Код: if (iNumber <= 12 && iNumber >= 100) It would be true if iNumber was smaller than 13 AND bigger than 99 at the same time. Instead of &&, use |...
187
pawn Код: for(new i; i < MAX_PLAYERS; i++){    if(IsPlayerConnected(i))    {        if(IsPlayerInRangeOfPoint(i, 5.0, X, Y, Z)) PlayAudioStreamForPlayer(i, "http://www.fileden.com/files...
163
You have to combine them all to ONE /enter, and ONE /exit command
219
I will tell you if you post your /enter and /exit code ^^
219
Add this to your OnGameModeInit callback: pawn Код: UsePlayerPedAnims(); //All peds have the same running animationDisableInteriorEnterExits(); //Disables all the yellow ENEX markers
68
Basically, the player is in this custom-made interior which resembles the interior of a real vehicle, right? And with the /window command you want the player to see the outside world. So upen entering...
88
pawn Код: if (strcmp("/exit", cmdtext, true, 10) == 0){    if(IsPlayerInRangeOfPoint(playerid,5,375.962463,-65.816848,1001.507812))     {        if(GetPlayerVirtualWorld(playerid) == 2)  ...
219
pawn Код: public OnPlayerCommandText(playerid, cmdtext[]){    //Commmands    return SendClientMessage(playerid, -1, "That command does not exist. Use /help or /commands.");} Don't lose the la...
173
Код: if (strcmp("/exit", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid,5,375.962463,-65.816848,1001.507812)) //burger { if ( GetPlayerVirtualWorld( playerid ) == 2 ) ...
219
Код: //Where you create all your variables new stringAFK[17]; public OnPlayerUpdate(playerid) { format(stringAFK, sizeof(stringAFK), "[AFK] %d [AFK]", playerid); new Text3D:label = Create...
214