Search Results
Quote:
Originally Posted by Kitten
I've had this problem but it's in or should be in
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\data\SAMP
Woah, thanks a million!
108
pawn Код:
new Shown[MAX_PLAYERS] = -1;if (strcmp("/showme", cmdtext, true, 7) == 0) { if(Shown[playerid] == -1) { for(new i=0; i<MAX_PLAYERS; i++) { ...
94
Only thing I have modded is my hud.txd, which would not be involved.
108
I have windows 7 64 bit, and my /save is not working. I'm looking in My Documents\GTA San Andreas User Files\SAMP, and all I see is "USERDATA.DAT", but no other files, even after using /save in the sa...
108
Here you are, whipped it up in about 5 minutes for you, it's a filterscript. Feel free to add upon it, I even commented some things you need to edit to your liking.
pawn Код:
#include <a_samp&...
92
Using
pawn Код:
~n~
which creates a new line (which, depending on where you use it (before/after the text) will move it up or down.
If you want a different style, change GameTextForPlayer(playe...
162
Quote:
Originally Posted by coole210
pawn Код:
SetPlayerAmmo(playerid, GetWeaponSlot(tempGun[playerid]), -1);
SetPlayerAmmo isn't by weapon slot, its by weapon ID
Wow, thank you!
133
Well, do you see any problems with the code above? Because it is not even touching my ammo.. When it obviously should. (Yes, the userfile is loading correctly and everything)
133
pawn Код:
case 0: //standard { if(GetPlayerWeapon(playerid) != 0) { if(tempGun[playerid] !=...
133
Why is this returning "SERVER: Unknown command"?
It's doing all it's supposed to do, but it doesn't send the client the messages specified..
pawn Код:
CMD:setpvmodel(playerid, params[]){ ne...
35
Quote:
Originally Posted by ******
Basically, you just need to constantly respawn the player at the right spots. More than that I can't tell you as I said, I've not fully figured it all o...
62
Hi again, lol.
Well, since you've got the interior ID already; Just substitute the ID from the other one, and do the same with the coordinates.
Example (as you need):
pawn Код:
public OnPlayerR...
128
http://forum.sa-mp.com/showthread.ph...ghlight=helmet
....
99
So, Spawning the player is not a good idea? That's a problem, lol. I've seen scripts where it has worked consistently, and I've had a few myself, but I don't have the source to look at from those; nor...
62
Just change the number, but you need to set their position to the interior position aswell.
For that, you will need the following code;
pawn Код:
SetPlayerInterior(playerid, 1);SetPlayerPos(play...
128
In my mode, when a player dies, they are sent to the class selection - I would like to just skip this entire process, and spawn them..
What's wrong with it? It logs them in, sets their spawn info, th...
62
Quote:
Originally Posted by RealCop228
TogglePlayerSpectating() is really the only way, but you could also add a black TD over it or something- but that looks stupid!
Like this...
77
pawn Код:
main(){ printf("Max Player Name: %d", MAX_PLAYER_NAME);}
Quote:
[12:16:10] Max Player Name: 24
Nope.
74
Quote:
Originally Posted by PowerPC603
Why are you turning off the engine and lights when a vehicle respawns?
Respawning a vehicle does that by default.
Even a blown up vehicle is restored...
62
I've got a bit of code on OnVehicleSpawn that is not working on vehicles I spawn using AddStaticVehicle, every other vehicle spawned (/spawnvehicle, CreateVehicle, ect) is working correctly and calls ...
62