Search Results
Quote: Originally Posted by Excelize You cant, you need to use either Dini or MySQL to save it. yes, i mean using dini to save it, but how?
74
Код: enum pbag { sID, bItem, bID, bAmount, }; new baoguo[MAX_PLAYERS][31][pbag]; each player has this enum for their bag item, how can i save these value into txt and how to load?
74
what i want is that player can use /putin to putin their wepon in to bag. but the code makes is i type /putin, the item that on my slop 0 (bag)will change to the weapon on my hand, but not add on. he...
64
Code: if(strcmp(cmd, "/bag", true) == 0) { if (IsPlayerConnected(playerid)) { if(IsPlayerConnected(playerid)) { for(new i = 0; i < 31; i++) { if(baoguo[pla...
100
what can i do to let player's bag have 45 slot, in order the player can use /putweapon to slot that is blank. for example i had a weapon 31 in my bag slot 1, i wanna make the player to put weapon on s...
51
i had try these code before ↓ Код: new string[128]; new dinistring[128]; new onlineplayers = GetMaxPlayers(); format(string,128,"%d",onlineplayers); format(dinistring,128,"LSRP/onlines/op.ini")...
59
as said. i wanna save onplayers to op\onlineplayers.txt . how can i do that, every time when player connected or disconnected,
61
i saw a lot website does this on their sever, i can check how many peoples were playing from the website. i wanna make a c++ program to show who ever use it how many people on my sever
69
Код: public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScal...
92
Код: public PayDay() { new string[128]; new account,interest; new rent = 0; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && !IsPlayerNPC(i)) { if(Player...
52
when i enter the game, every thing works fine. but when the time in game was at 30 min or something, the textdraw on top of the screen keep counting down, like 0,-1,-2,-3,-4,-5.....etc how can i s...
72
i wanna get a vehicle object edit and save system, which means it allow the player edit it anytime, if the server restart, the object will load and attach to the vehicle.
44
Код: public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { SetPlayerPosFindZ(playerid, fX, fY, fZ); return 1; } i use this, when i click the map, it tele me to the center of ...
77
Код: if (strcmp(cmd, "/changename", true) == 0) // By CuervO_NegrO { if(IsPlayerConnected(playerid)) { //if(CanChangeName[playerid] == 0) return SendClientMessage(playerid, C...
86
as said,. i wanna make a command /inv to let the player invisible, but he can still see other person(some one told me to set that player to another world) I don't wanna set that player to another worl...
78
this is code Код: format(string,128, "[1] |家具名称:花盘|家具ID:2252|价格:20000|\n[2] |家具名称:军人帽子(绿)|家具ID:19101|价格:150000|\n[3] |家具名称:防爆盾|家具ID...
64
my variable for jail time is PlayerInfo[playerid][pJailtime], i don't know why,if i log out, with a pJailtime, and connect to server again, my money will gone. how come? i checked there were no any cl...
72