Help - How Would I Do This?
#1

So I am creating a house system, I need to see if the player's name equals the owner of the house. I have This...
pawn Код:
if(pName[playerid] == hOwner[hid]) {
And I Get This...
Quote:

error 033: array must be indexed (variable "pName")


I also have tried this...
pawn Код:
if(strcmp(hOwner[hid], pName[playerid], true)) {
I get no error but it doesn't work in-game. Because the person who owns the house can't do it.

What is the proper way to do this?
Reply


Messages In This Thread
Help - How Would I Do This? - by Tim_Ethen - 06.11.2010, 05:03
Re: Help - How Would I Do This? - by -Rebel Son- - 06.11.2010, 05:08
Re: Help - How Would I Do This? - by Tim_Ethen - 06.11.2010, 05:17
Respuesta: Help - How Would I Do This? - by CuervO - 06.11.2010, 05:27
Re: Help - How Would I Do This? - by Tim_Ethen - 06.11.2010, 05:32

Forum Jump:


Users browsing this thread: 4 Guest(s)