[Pomoc]Spawn

Započeo Cimbur, Avgust 22, 2012, 12:25:42 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Mystic World Role Play
Detaljan opis problema: Kako da promenim spawn, nasao sam OnPlayerSpawn, ali nema nigde kordinata :
Dio skripte:public OnPlayerSpawn(playerid)
{



   if(!gPlayerAnimLibsPreloaded[playerid])
{
    PreloadAnimLib(playerid,"BOMBER");
    PreloadAnimLib(playerid,"RAPPING");
    PreloadAnimLib(playerid,"SHOP");
    PreloadAnimLib(playerid,"BEACH");
    PreloadAnimLib(playerid,"SMOKING");
    PreloadAnimLib(playerid,"FOOD");
    PreloadAnimLib(playerid,"ON_LOOKERS");
    PreloadAnimLib(playerid,"DEALER");
PreloadAnimLib(playerid,"CRACK");
PreloadAnimLib(playerid,"CARRY");
PreloadAnimLib(playerid,"COP_AMBIENT");
PreloadAnimLib(playerid,"PARK");
PreloadAnimLib(playerid,"INT_HOUSE");
PreloadAnimLib(playerid,"FOOD");
PreloadAnimLib(playerid,"PED");
PreloadAnimLib(playerid,"MISC");
PreloadAnimLib(playerid,"BLOWJOBZ");
PreloadAnimLib(playerid,"RIFLE");
PreloadAnimLib(playerid,"UZI");
PreloadAnimLib(playerid,"SHOTGUN");
PreloadAnimLib(playerid,"COLT45");
PreloadAnimLib(playerid,"SILENCED");
PreloadAnimLib(playerid,"GYMNASIUM");
PreloadAnimLib(playerid,"PARK");
PreloadAnimLib(playerid,"BSKTBALL");
PreloadAnimLib(playerid,"GANGS");
PreloadAnimLib(playerid,"FIGHT_D");
PreloadAnimLib(playerid,"PAULNMAC");
gPlayerAnimLibsPreloaded[playerid] = 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
RESPECT :
Vegas & C++

Ujdes na Home Server,ili u samp-debug onda nadjes lokaciju de oces  kucas /save zatim odes u mojdukumets tamo imas gta user file tako nesto udjes imas SAMP udjes tu i imas
savepositions data kao nesto AddClassPlayer i unutra brojevi.
Onda udjes u skripti nadjes OnPlayerSpawn dodas dole OnPlayerPos(playerid, oni brojevi,[od drugog,pa do 4].
Ako ti ovo na kraju nije jasno javi mi se :D
prst prst u cupi,prst prst u anus

Ma znam ja za kordinate, nego gde da dodam da se igrac spawna na tom mestu gde cu ja uzeti kordinate
RESPECT :
Vegas & C++

Citat: Cimbur poslato Avgust 22, 2012, 13:43:06 POSLE PODNE
Ma znam ja za kordinate, nego gde da dodam da se igrac spawna na tom mestu gde cu ja uzeti kordinate

Ja mislim da je to pod public SetPlayerSpawn

Nadjes SetSpawnInfo pa promenis kordinate.
Poslednja Izmena: Avgust 22, 2012, 17:12:40 POSLE PODNE od [BW]fitiLj.