Search Results
Hello im having a problem with my sa-mp server! its running on Windows server 2012 R2 and the sscanf, streamer, audo plugins are not working... i updated the VPS & installed every VC++ package fro...
138
Hi, whats wrong here?
Код:
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,MAX_PLAYER_NAME);
mysql_free_result();
mysql_query("SELECT id FROM playerdata WHERE use...
75
Hello, whats wrong with this
Код:
ShowPlayerDialog(playerid,L_DIALOG,DIALOG_STYLE_INPUT,"{FFFF00}Login - %s",logstring,"Login","Quit",pName);
It shows :
Код:
warning 202: number of arguments...
119
But if i want to check my stats not someone elses i dont want to put my id.. when i use /stats it says USAGE: /stats [playerid]
166
Hello i have problem with stats command when i type /stats it shows stats of id0 even tho im id1
Код:
CMD:stats(playerid,params[])
{
new string[1250];
new player1;
new name[MAX_PLAYE...
166
Hello i have a problem with OnPlayerText
the code:
if(PlayerInfo[playerid][pAdmin] >= 5)
{
new msg[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
...
57
This is the text that is in the Texts.txt : Create3DTextLabel("test!",0x3A47DEFF,2637.90, 1129.06, 11.17,30.0,1);
AND this is how i save them
new File:file,str[256];
file=fopen("Texts.txt",io_...
75
Hello i have a system that ingame creates 3d labels but when server restarts its not loading them all the labels are in the .txt file how can i load that txt file when server is loading..
75
but it worked before i added pName
now it shows 5 errors
117
ShowPlayerDialog(playerid,dlogin,DIALOG_STYLE_INPU T,"Login","Welcome back %s. This account is registered. \nInsert your password to login to your account","Login","Quit",pName);
117
Hello i have a warning
warning 202: number of arguments does not match definition
and the code is
Код:
public OnPlayerConnect(playerid)
{
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid...
117
It need to be like this?
Join:
Код:
CMD:dm1(playerid, params[])
{
SendClientMessage(playerid, COLOR_YELLOW, "Welcome to DM1");
InEvent[playerid] = 1;
SetPlayerPos(Pos);
return 1;
}
Leave:...
248
so if i add this "InEvent[playerid] == 1" do my dm command he cant go somewhere else?
248