SA-MP Forums Archive
Help me please () - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me please () (/showthread.php?tid=501369)



U NEED TO LOOK AT THIS111! - cuemur - 17.03.2014

PHP код:
stock GetPlayerGuest(playerid)
{
    new 
slots 0;
    for(new 
1<= TOTALHOUSE;i++)
    {
    }
    return 
slots;

PHP код:
HouseInfo[i][hSlot0]
HouseInfo[i][hSlot1]
HouseInfo[i][hSlot2
I need if one of these three is equal player name then GetplayerGuest is =1
im using sendername(playerid) as name variable.

HELP ;/