Search Results
You can make a command like /t [message] /t means Teamchat
126
I didn't test it, but i hope it will work PHP код: if(strcmp(cmd, "/pm", true) == 0) { if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1){ new id, msg...
63
Quote: Originally Posted by LocMax 11 was supposed to be string size for it If you want to add string size, use the enum method i explained. that will help. just add MAX_ITEMS in [] Ex...
350
Quote: Originally Posted by biker122 Maybe try this? pawn Код: new ItemName[MAX_ITEMS][] = {{"Wood"},{"Stone"},{"Steel"},{"Gun powder"},{"Plastic"},{"Flint"},{"Rubber"},{"Tin"},{"Cloth...
350
ok so basically you are defining the array but not using storing the values in it a short example with enum: PHP код: enum itemInfo {  // enums used for the items    iname[256]};Â...
350
Dialogid 125. Show us the dialogid 125. Its under ondialogreponse
178
Quote: enum PlayerInfo { Pass[129], Adminlevel, Muted, VIPLevel, Money, Scores, Kills, ban, Deaths } CMD:ban(playerid, params[]) { new playa...
227
Atleast tell your enums so helpers can provide some help related to your script!
227
Quote: #define mathit(%0,%1) \ ((%0)+(%1)); New Float:i; i = mathit(1,3); Try this
298
you gave space between "math" and "it" Remove the space
298
You want to TP player to cordinates or you want to TP the player in LS ?
285
r7 you said ? Quote: case 0: { format(sql, sizeof(sql), "UPDATE `samp_trunks` SET `TS1`=1 WHERE PlayerID= %d", PlayerInfo[playerid][pDBID]); mysql_function_query(g_mysql_handle, sql, tr...
183
well there's a way you can store items on 1 column, EG: name id Item1 = 0 Item2 = 1 Item3 = 2 you can store it in sql as "012" under "items" column. But i'm not into it so i can't help. store them...
98
new query[128]; format(query, sizeof(query), "UPDATE `accounts` SET `password` = MD5(\"%s\") IP = \"%s\", item1 = %d, item2 = %d, item3= %d, item4= %d, item5= %d, item6= %d WHERE `name` = %s", pass,...
98
what do you mean by saving information ? You can use database for it. Its the most safest thing i can suggest, use md5 hash for passwords or maybe some other methods. and on player disconnect you can ...
98
Quote: g_mysql_handle = mysql_connect(MYSQL_HOST,MYSQL_USER,MYSQL_DATABASE ,MYSQL_PASSWORD); mysql_function_query(g_mysql_handle, "SELECT * FROM `table` WHERE `id` = 1", false, "Test", "...
199
Quote: Originally Posted by EgyptForLife +REP To both of you ! Thank you guys Anytime
285
Quote: vehOnPlayerDisconnect(playerid, reason); Look under this function . There you'll find your thing
148
Remove the code for Destroy player car under OnPlayerDisconnect, Show the whole OnPlayerDisconnect fuction here sow e can help you with that. It will be easier for all of use.
148