07.12.2011, 18:16
Hello there,
I am doing a simple gamemode to learn Pawno, and I wanted to construct a command in which a player can show his location to others by using the command
The trouble is that I want the location to show to all players, and Pawno on compiling shows undefined symbol "showplayerid"... The wiki says (playerid, showplayerid, color). I can only assume I misinterpreted showplayerid. How can I make it so it shows to all of the players connected?
Thanks in advance
I am doing a simple gamemode to learn Pawno, and I wanted to construct a command in which a player can show his location to others by using the command
Код:
dcmd_showlocation(playerid, params[]) #pragma unused params { if { SetPlayerMarkerForPlayer( playerid, showplayerid, 0xFF0000FF ); } else { SetPlayerMarkerForPlayer( playerid, showplayerid, 0xFF0000FF ); } }
Thanks in advance
