- 0
Cum pun un npc sa te urmeze?
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
mura
Am incercat de pe un tutorial ceva cu settimer
public OnPlayerText(playerid, text[])
{
new JackID = GetPlayerID("Jack");
new Float:x,Float:y,Float:z;
GetPlayerPos(JackID,x,y,z);
if(IsPlayerFacingPlayer(playerid,JackID,10.0))
{
if(strfind(text, "Follow me") != -1 && IsPlayerInRangeOfPoint(playerid,5.0,x,y,z))
{
SetPlayerChatBubble(JackID,"Ok!",white, 100.0, 5000);
SetTimerEx("GetJackToFolow",100,1,"i",playerid);
ApplyAnimation(JackID,"PED","WALK_PLAYER",4.1,1,1,1,1,0);
return 1;
}
}
return 1;
} nu mere.Imi da eroare la getplayerid cu unfinded symbol...nui dau de cap.
1 answer to this question
Recommended Posts