Search Results
I have one question, i want move forward, not in line X or Y, how to do this?
196
I have such code:
Код:
#include <a_samp>
#define Maximal_Players 500
new Text:TextDraw0;
new Text:TextDraw1;
new Text:TextDraw2;
new Text:TextDraw3;
new Text:TextDraw4;
new Text:TextDraw5[...
82
@2up Player can have at at screen 92 textdraw, NO can create 92 textdraws.
@topic You can do to this callback OnPlayerTakeDamage, OnPlayerUpdate is too often performed.
447
I have that code:
Код:
stock GiveWeapon(PlayerId,WeaponId,Ammunition)
{
for(new W = 0; W < 13; W++)
{
GetPlayerWeaponData(PlayerId,W,PlayerWeapon[PlayerId][W],PlayerAmmunition[PlayerId][...
72
I think X,Y,Z its float so:
Float:X,
Float:Y,
Float:Z
etc..
94
At 0.3x:
OnGameModeExit - Can't be performed.
OnPlayerConnect - Client can't be kicked.
At 0.3e and older versions:OnGameModeExit - Performed.
OnPlayerConnect - Client can be kicked.
So... May fix it...
380
I know but i have this:
Quote:
Remaining time it (nothing here).
Administrator which gae ban it (nothing here).
Why?
153
Ok i found problem.
Код:
//OnPlayerConnect
print("ss");
BanPlayer(playerid,3,-1,"nnc");
print("ss");
In console:
Код:
ss
And this function:
Код:
stock BanPlayer(PlayerId,Days,Administra...
143
I have such code.
Код:
#include <a_samp>
#define MaximalPlayers 500
#define DatabaseFile "Server.db"
#define C_RED "{FF0000}"
#define COLOR_WHITE 0xFFFFFFFF
new DB:Database;
new DBResult:D...
143
Why i cant do anything in OnGameModeExit?
Код:
public OnGameModeExit()
{
print("ssss");
return 1;
}
or
Код:
public OnGameModeExit()
{
new String[200];
KillTimer(Server[ServerGlobalFunctionsT...
56
I have problem with streamer by incognito.
Код:
PlayerTransportMapIcon[playerid] = CreateDynamicMapIcon(TransportMapIconX[T],TransportMapIconY[T],TransportMapIconZ[T],51,0xFFFFFFFF,-1,-1,playerid,...
52
Ok but why OnPlayerConnect dont work?
Код:
public OnPlayerConnect(playerid)
{
print("connected");
GetPlayerName(playerid,PlayerName[playerid],30);
printf("%s",PlayerName[playerid]);
return 1;
...
141
#EDIT:
Код:
printf("%s - %s",PlayerName[playerid],HouseOwner[H]);
Printed : " - ImNewbie"
Код:
#define MAXIMAL_PLAYERS 100
new PlayerName[MAXIMAL_PLAYERS][30];
public OnPlayerConnect(playerid)...
141
Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
for(new H = 0; H < MAXIMAL_HOUSES; H++)
{
if(HouseVehicleId[H] == GetPlayerVehicl...
141
if(!IsPlayerAdmin(playerid)||(PlayerInfo[playerid][pAdmin] < 99999) {
delete { or change to { }
82