Search Results
I tried,this is what i have done new MySql = -1; OnGameModeInit() MySql = mysql_connect(mysql_host,mysql_user,mysql_database ,mysql_password); new Query[80]; GetPlayerName(playerid,pName,24); ...
217
Quote: Originally Posted by BleverCastard Under OnGameModeInit, you will have something like: pawn Код: ConnectionHandle = mysql_connect(...); You use ConnectionHandle as the connecti...
217
Quote: Originally Posted by bondowocopz Код: mysql_query(Your Connection Handler, Query); what do you mean by connection handler,sorry i am new in this
217
Quote: Originally Posted by BroZeus That's because you are just formatting variable named Query, you forgot to do mysql_query You have to do the following after the format line Код: my...
217
I am trying to make a registration using MySql following tutorials,my registration system doesn't work Код: #define mysql_host "localhost" #define mysql_user "root" #define mysql_password "" #de...
217
I don't need a command,i want to know what i am doing wrong in my code and how do i make it work.
92
Loadhouse not working it is crashing my complier Код: CMD:createhouse(playerid,params[]) { if(PInfo[playerid][Level] < 5) return SendClientMessage(playerid,STEALTH_BLUE,"You need to be le...
92
I use ZCMD Код: new HidePrefix[MAX_PLAYERS]; CMD:hide(playerid,params[]) { HidePrefix[playerid] = 1; return 1; } public OnPlayerText(playerid,text[]) { if(PlayerInfo[playerid][p...
77
So i can't remove the textdraw and progressbar when the player leaves the area of mine? EDIT: I re-read your post again,i don't have problem with 3dtextlabel,my only problem is that the TextDraw and ...
87
The textdraw and progressbar doesn't destroy after i leave the area Код: forward MineTimer(playerid); public MineTimer(playerid) { new string[124]; new Count2; for(new i = 0; i < MAX_PLAYER...
87
It works good for first time then when i reconnect and go afk it kicks me in few seconds Код: forward AFKCheck(playerid); public AFKCheck(playerid) { new pName[24],string[100]; for(new i = 0; i...
74
Why does it give me this errors? C:\Users\Trayansh\Desktop\SAMP\pawno\include\callb acks.inc(501) : warning 219: local variable "health" shadows a variable at a preceding level C:\Users\Trayansh\Des...
6,786