12.06.2012, 18:30
You need to use a function to compare strings in PAWN.
https://sampwiki.blast.hk/wiki/Strcmp
Other useful string functions listed at bottom of that page.
pawn Код:
if( !strcmp( ABusinessData[BusID][Owner], APlayerData[playerid][PlayerName]) )
{
//strings match if strcmp returns zero
}
Other useful string functions listed at bottom of that page.