Search Results
http://pastebin.com/PJZiL0T5
https://sampforum.blast.hk/showthread.php?tid=595440
i created this script depending on this tutorial LINK and this filterscript LINK
both yini take a look at code you ...
123
Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkinID]);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new INI:File = INI_Open(UserPath(play...
132
https://sampwiki.blast.hk/wiki/ApplyAnimation
Код:
freeze Setting this to 1 will freeze the player at the end of the animation. 0 will not.
Код:
(playerid, animlib[], animname[], Float:fDelta...
188
Quote:
Originally Posted by TheBoZ
Also, here's my LOG of the line "(254)"
COMMAND:makeadmin(playerid,params[])
{
if(pInfo[playerid][Adminlevel] >= 5 || return SendClientMessage(playe...
197
show us line 254 please
197
Quote:
Originally Posted by DOL4N
I see. Can you suggest how to execute this properly? The interest income and +score every hour?
i use this way to reward players playing for 1 hour
Ð...
175
try this include https://sampforum.blast.hk/showthread.php?tid=492675
76
https://sampforum.blast.hk/showthread.php?tid=464581
89
use https://sampwiki.blast.hk/wiki/AttachObjectToPlayer
example:
Код:
new box;
public OnGameModeInit()
{
box = CreateObject(2358, x, y, z, rotx, roty, rotz);
return 1;
}
CMD:carrybox(pl...
72
combine these two you get a good group system
https://sampforum.blast.hk/showthread.php?tid=274514
https://sampforum.blast.hk/showthread.php?tid=548348
86
Quote:
Originally Posted by ahmedraed
i know this..the problem is it will show all the server the Deaths for only 1player..
Код:
new PlayerText:da[MAX_PLAYERS];
da[playerid] = Crea...
163
Quote:
Originally Posted by ahmedraed
Nope, not working any other ideas please?!
saying : warning 213: tag mismatch
Код:
TextDrawSetString(da, str);
163
Код:
#include <ZCMD>
new booklet[MAX_PLAYERS];
CMD:buybooklet(playerid, params[])
{
SendClientMessage(playerid, 0x00FF00FF, "You have bought a booklet.");
booklet[playerid] = 1;
r...
71
Use this stock to get playerid from name:
Quote:
Originally Posted by Correlli
Код:
stock GetPlayerIdFromName(playername[])
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsP...
60
if the problem not with your code then ill give you my version of sscanf it works well for me may work for you aswel
http://www.solidfiles.com/d/94e2fdd5d5/
Код:
#include <sscanf2>
i am not...
157
can you please
Quote:
Originally Posted by Alpha000
provide the codes
of how player takes the zone
81
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_EVENT_THIRD)
{
if(!response)
{
SendClientMessage(...
85
Код:
new weapons[13][2][MAX_PLAYERS];
CMD:gmon(playerid, params[], help)
{
SetPlayerHealth(playerid, 99999.0);
SetPlayerArmour(playerid, 99999.0);
SendClientMessage(playerid, -1, "* Y...
78
Код:
new IsPlayerInDM[MAX_PLAYERS];
//if player joins in dm do
IsPlayerInDM[playerid] =1;
//put this code under all your commands except /leave, it checks is player in dm if so then it sends err...
125
Quote:
Originally Posted by Ugaustin
lets say that I have textdraw ! , but how do I put in I don't know where to put it..
TextDrawCreate under
Код:
OnGameModeInit
TextDrawShowForPl...
122