Search Results
Woah! that's one hell of a map! Good job mate.
218
SA-MP Forum Rules -
Quote:
Include All Source Code - Scripts or other programmed things released on these forums MUST include ALL source. If you do not wish to include the source code that is your...
1,050
PHP код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if (!success)
{
new string[500];
format(string,sizeof(string),"PH-BOT: This comma...
569
Earlier, the SA-MP forum used to have a system in which players could also -rep others. But, it was removed for certain reasons. Thus, the player who repped you could had recieved -reps at that time.
...
143
In order to give someone rep, a person should have a rep count greater or equal to zero, so even if a guy has 300+ rep, he need to have a positive rep count, otherwise, his rep won't count.
143
Quote:
Originally Posted by rockhopper
Код:
if(gTeam[playerid] == TEAM_COPS)
{
SetPlayerPos(playerid, 1565.7843,-1694.2400,5.8906);
SetPlayerColor(playerid, COLOR_BLACK);
}
Your '...
214
To change a player's name's color you can just use SetPlayerColor.
Here's an example of its usage -
pawn Код:
SetPlayerColor(playerid, 0x00FF00C8);
And for the id and text Color -
pawn Код...
159
Create a folder named "Cod" (without the ") in your 'ScriptFiles' folder.
176
https://sampforum.blast.hk/showthread.php?tid=167814 or
https://sampforum.blast.hk/showthread.php?tid=187284
Next time, search before you post.
95
Quote:
Originally Posted by Threshold
The only thoughts that come to mind are:
https://sampwiki.blast.hk/wiki/OnUnoccupiedVehicleUpdate (This would only work for unoccupied vehicles though...
116
pawn Код:
new playerstate;playerstate = GetPlayerState(playerid);if(playerstate == PLAYER_STATE_ONFOOT || playerstate == PLAYER_STATE_DRIVER){ // your code will go here.. }
194
Howdy!
I'm trying to make Sumo Deathmatch and I want to create it in such a way that if a player slams another player and if the smashed player falls down, the player who smashed him gets one 'sumo s...
116
Quote:
Originally Posted by [Bios]Marcel
PHP код:
public onPlayerText(playerid, text[])
{
new Float:X,Y,Z;
GetPlayerPos(playerid,X,Y,Z);
new mess...
245
This should work -
pawn Код:
CMD:housestats(playerid,params[]){ new str[256],housenumber; housenumber = GetHouseID(playerid); format(str, sizeof(str), "Owner: %s\n", hInfo[housenum...
88
19379 or any one of the other walls, probably.
114
You can change an object's texture or color using [uL]Pottus' filterscript - Texture Studio, which can be found here -
https://sampforum.blast.hk/showthread.php?tid=471474
114
You can't just leave the info[] parameter of your ShowPlayerDialog blank.
Replace your code with this one -
pawn Код:
public OnPlayerConnect(playerid){ if(PlayerInfo[playerid][Registered] ...
194
Hmm, replace your ShowPlayerDialog with this one -
pawn Код:
COMMAND:credits(playerid, params[]){ ShowPlayerDialog(playerid, 1243, DIALOG_STYLE_MSGBOX, "Server Credits:", "{FFFFFF}Server Ow...
129
Place it under Public OnPlayerConnect(playerid). It doesn't work if we place it under OnFilterScriptInit() / OnGameModeInit() as they don't have the playerid parameter.
77
Quote:
Originally Posted by saikumar
i want to make a function that at specific time if the player is in anyother virtual world except 0 then he will be set to 0
If you wanna set everyb...
116