Search Results
Hello! I'm wondering if there is any way to have sea / water enabled in an interior. (and the weather, because it's grey at me?)
113
I believe you cannot import new object models to SAMP (yet).
101
Surely the problem is that the server 'loops' itself somewhere. Check all the loops in your script. With loop itself I mean something like this: pawn Code: //examplenew a = 0;new b = 0;while(a == 0...
289
I'm not sure what are you talking about, but this way does not work at me since the worldid variable is not defined.
103
Hi! Is there any way to stream objects in certain virtual worlds? I am using Incognito's streamer. pawn Код: native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Fl...
103
As far as I know, custom rcon commands are working, if you put OnRconCommand in filterscript. It won't work in gamemode.
62
Try replace pawn Код: if(PlayerToPoint(playerid, 2712.89990234, -1073.19995117, 70.30000305)) with pawn Код: if(IsPlayerInRangeOfPoint(playerid, 2712.89990234, -1073.19995117, 70.30000305))
155
Hi! My array is defined with: pawn Код: enum PlayerData{pString[64],bool: pLogged,pTime,...}new Player[MAX_PLAYERS][PlayerData]; When player disconnect, I want to reset the Player[playerid] arra...
70
The function is diffrent from original. Replace it with pawn Код: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
58
Hi guys! One simple question: I have a textdraw, which is shown for all players all the time. Now is it better to do TextDrawShowForPlayer when he connects and then TextDrawHideForPlayer when he disc...
66
Hello guys! I want to use fseek command to position the pointer of file back to start but for some reason, my server crash when I use it. I read on wiki that I must not use 0 as position when the whe...
58
Wow, I didn't know it can be so simple! I'm wondering, what about strings? As far as I know, I cannot make string empty with 'Map[MapNumber][mName] = 0;' but it must be Map[MapNumber][mName] = '\0' or...
84
Hello! I have this enum: pawn Code: enum MapData{    mName[24],    mAuthor[64],    mCommand[24],    mWorld,    mLevel,    mCount_Objects,    mCount_Vehicles,    mCount_AutoFixers, ...
84
Simply create a variable before the loop: pawn Код: new ColorOption; Then you switch between 1 and 0 each loop: pawn Код: for(......){if(ColorOption == 0){ColorOption = 1;//code for red col...
152
pawn Code: public OnPlayerDeath(playerid, killerid, reason){if(killerid != INVALID_PLAYER_ID){    GivePlayerMoney(playerid,-100);GivePlayerMoney(killerid,100);}    return 1;}
125
Hi! Today I was messing with my code again and I found one strange 'bug': I add this code: pawn Код: //code to spawn vehicle blah blah...        KillTimer(Player[playerid][pTimer_UpdateVehicl...
81
I am using GetVehicleVelocity. I just pasted main piece of code. Please ignore SetPlayerVelocity because I had just playing and messing my code if I would get better results, but I hadn't. I think tha...
81