Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

[TUT] Cum sa nu dispara wantedul cand dai /q ... -=GF=-


Recommended Posts

Posted

Prea multe posturi la probleme godfather cum sa se faca wantedul sa numai dispara pentru RP,GF. Am decis sa arat la toti incepatorii cum se face...

Prima data cautati linia:

if(newstate == PLAYER_STATE_SPAWNED)
si inlocuiesti cu:
if(newstate == PLAYER_STATE_SPAWNED)
	{
	new Float: lwx, Float:lwy, Float:lwz;
	GetPlayerPos(playerid, lwx, lwy, lwz);
	if((lwz > 530.0 && PlayerInfo[playerid][pInt] == 0) || PlayerToPoint(1000.0, playerid, -1041.9,-1868.4,79.1)) //the highest land point in sa = 526.8
	{
		SetPlayerSpawn(playerid);
	}
	if(PlayerOnMission[playerid] > 0)
	{
		GameTextForPlayer(playerid, "~r~Mission failed", 5000, 3);
		PlayerOnMission[playerid] = 0;
		PlayerInfo[playerid][pMissionNr] = 0;
	}
	if(PlayerInfo[playerid][pDonateRank] > 0) { SetPlayerHealth(playerid, 100.0); }
	else { SetPlayerHealth(playerid, 50.0+PlayerInfo[playerid][pSHealth]); }
	MedicBill[playerid] = 1;
	TelePos[playerid][0] = 0.0;
	TelePos[playerid][1] = 0.0;
	gPlayerSpawned[playerid] = 1;
	SafeTime[playerid] = 60;
	}

Dati lock macar nu il stergeti sa vada toti incepatorii cum se face....

Posted

Loool =)), ce legatura are asta cu wantedul ? =))

Am decis sa arat la toti incepatorii cum se face...

Ti-ai aratat singur, pacat ca nu este corect :))

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.