- 0
Problema /spawnchange
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
HuZuM
Problemă întâlnită (descriere): Dau un exemplu: Dau /spawnchange, ma da la casa..dau restart la server ma da la spawn sau la factiunea de unde fac parte iar eu vreau sa ma dea tot acolo unde am dat prima oara /spawnchange, adica la casa.
Ero(area / rile) / warning-(ul / urile): Nu imi da nici o eroare doar ca nu vrea sa mi se salveze pozitita la casa sau invers..dupa ce dau restart
Liniile de cod / sursa / script-ul:
CMD:spawnchange(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pPhousekey] != 999) { if(PlayerInfo[playerid][pSpawnChange] == 1) { SendClientMessage(playerid, COLOR_GREY, "You will now spawn at your normal place !"); PlayerInfo[playerid][pSpawnChange] = 0; } else { SendClientMessage(playerid, COLOR_GREY, "You will now spawn at your own / rented house!"); PlayerInfo[playerid][pSpawnChange] = 1; } } else { SendClientMessage(playerid, COLOR_GREY, "You don't any house."); } } return 1; }Am incercat sa pun
[pawn]case pSpawnChangex:
22 answers to this question
Recommended Posts