Textdraw showing to ID 0 :S
#1

Hey Guys

I have robberys in my server and when a player enters a checkpoint and types /robcasino a textdraw appears for the player, but it also appears to ID 0? Any Ideas Guys

new Text:Textdrawauto1[MAX_PLAYERS];

Then I Use TextDrawShowForPlayer(playerid,Textdrawauto1[playerid]);
Reply
#2

Show us your /robcasino command
Reply
#3

Idont think its in the /robcasino command, its in the Public RobbingCasinoCountdown

Here: http://pastebin.com/m73186377

Thanks For Looking
Reply
#4

Код:
public robbingcasinocountdown(playerid)
{
Remove playerid and just leave it like that -> public robbingcasinocountdown()

Also remove any reference to 'playerid' in the function, replacing it with a 'i'

Your doing a loop, no need for the playerid param in the function

Thats why it will show to playerid: 0
Reply
#5

Thanks ! xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)