Search Results
must i set the skin every time player spawns ? if that the problem i know how to fix it
166
Quote:
Originally Posted by [xB]Lordz
There might be this script code under OnPlayerDeath
[pawn]
public OnPlayerDeath.....
{
SetPlayerSkin(playerid,0);//0 id sets to CJ skin.
//The...
166
pawn Код:
public OnPlayerDeath(playerid, killerid, reason){ return 1;}
Still Empty One
166
pawn Код:
public OnPlayerConnect(playerid){ pInfo[playerid][prSTEP] = 0; pInfo[playerid][pSEX] = 0; FirstTimerSpawn[playerid] = 0; pInfo[playerid][pSQ] = 0; pInfo[playerid][pSA] = 0;...
166
When i login to the server the skin is set normally but when player dead and spawn again his skin changes to CJ must i use SetPlayerSkin every time the player spawns !!
166
how save data of non existing players !?
OnGameModeInit() there is no players connected and the data already lost cuz the server has exited
183
what if gamemode crashed ? or an unexpected problem forced it to exit
183
Jefff : Thank you very very very very much this one worked +REP for you and for Shetch
but a small question why used
db_free_result(Result);
even though new "Result" is created every time the fun...
115
I have created that code to return the Secret Question of a player on calling it
pawn Код:
stock getPlayerSecret(playerid){ new Query[ 384 ], DBResult: Result, ...
115
183
183
any help, i am really stuck with this and need your help ++REP
183
as title says i want to execute the DB save function ongamemodeexit so if the server is closed no player data loses
i tried this but it does not work
pawn Код:
public OnGameModeExit(){ for...
183
OPS you are right i forgot to set the virtual world to 0 you have my REP thank you very much for your help :d i really appreciate it
66
the login code is the same as the spawn after register code idk why when i spawn after i register i cant see the vehicle
66
I created a create character system when i spawn i cant see any vehicle if restarted the game i see the vehicles normally idk what is happening
66
They Are telling the to give us the info in server_log.txt
89