- 0
Problema Spawn
-
Similar Content
-
Mapping spawn
By zXk.,
- 0 replies
- 730 views
-
Problema turf
By Soryn.,
- 2 answers
- 209 views
-
- 1 reply
- 167 views
-
Problema
By ImJustSlim,
- 3 answers
- 279 views
-
- 2 replies
- 152 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
kiLLers10
Problema intalnita (descriere): Am casa cumparata dau /changespawn si tot la spawnul obisnuit ma respawneaza .
Ero(area / rile) / warning-(ul / urile): nu primesc
Liniile de cod / sursa / script-ul(obligatoriu):
forward LoadPlayerSpawnData(playerid); public LoadPlayerSpawnData(playerid) { for(new i = 0; i < sizeof(ApartmentInfo); i++) { GetPlayerName(playerid, plname, sizeof(plname)); if(strcmp(ApartmentInfo[i][sOwner], plname, false ) == 0 && ApartmentInfo[i][sSpawn] == 1) { SetPlayerPos(playerid, ApartmentInfo[i][sEnterx],ApartmentInfo[i][sEntery],ApartmentInfo[i][sEnterz]); } } TextDrawShowForPlayer(playerid, ServerTimeTXT); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, 1743.0449,-1861.1635,13.5779); SetPlayerHealth(playerid, 100); SetPlayerInterior( playerid, PlayerInfo[playerid][pInterior] ); SetPlayerVirtualWorld( playerid, PlayerInfo[playerid][pVirtualWorld] ); }
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: da
Link to comment
Share on other sites
9 answers to this question
Recommended Posts