kann aber nicht ganz stimmen.. bei mein zoll system geht es kommischerweise., da wird am bot eine animation ausgefürt sobald jemand druch fährt
ich habs jetzt so
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname,"wcpd1",true))
{
new nID;
nID = GetPlayerIdFromName("wcpd1");
SetPlayerColor(playerid,0xFFFFF00);
ApplyAnimation(nID,"DEALER","DEALER_DEAL",4.0,1,0,0,0,0);
SetPlayerSkin(playerid,265);
return 1;
}
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname,"wcpd2",true))
{
new nID;
nID = GetPlayerIdFromName("wcpd2");
SetPlayerColor(playerid,0xFFFFF00);
ApplyAnimation(nID,"DEALER","DEALER_DEAL",4.0,1,0,0,0,0);
SetPlayerSkin(playerid,266);
return 1;
}