01.11.2011, 06:51
HI all.I want ask with one thing.It's posibble to do with mysql save director not ID,but that name what he work like: police director.I try do something:
But i don't know what do with loading,for ex:
how to do when loading if player is police director then this varriable:
SET TO 1,or medic set to 2,or if don't have director then set to 0.
Код:
new Work [ 25 ]; if(PlayerData[playerid][plead] == 1) Work = "Police director"; else if(PlayerData[playerid][plead] == 2) Work = "Medic director"; else if(PlayerData[playerid][plead] == 0) Work = "Nothing";
how to do when loading if player is police director then this varriable:
Код:
PlayerData[playerid][plead]

