Posts: 80
Threads: 30
Joined: Oct 2009
Reputation:
0
thanks but how do i fix this error error 017: undefined symbol "SetPlayerChatBubble"
and where do i put the code?
Posts: 3,488
Threads: 16
Joined: Jun 2007
Reputation:
0
Are you using SA-MP 0.3 includes?
Posts: 80
Threads: 30
Joined: Oct 2009
Reputation:
0
not sure but where do i add the code you told me? in my gm? npc pwn? and where inside the file? thanks
Posts: 80
Threads: 30
Joined: Oct 2009
Reputation:
0
undefined symbol "text"
also how do i change what it says?
sorry im new to this thanks for helping
Posts: 80
Threads: 30
Joined: Oct 2009
Reputation:
0
if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
if(!strcmp(npcname, "MyFirstNPC", true)) //Checking if the NPC's name is MyFirstNPC
{
PutPlayerInVehicle(playerid, MyFirstNPCVehicle, 0); //Putting the NPC into the vehicle we created for it.
SetPlayerChatBubble(playerid, "Your Text Goes Here", 0xFF0000FF, 100.0, 10000);
}
return 1;
}
The npc doesnt talk, any ideas?