19.11.2011, 05:08
Alright, so, I actaully managed to get the Create3DTextLabel to work, but I cannot seem to get to figure out how to have it at the point where when a player has gotten within a certain range, it would, of course, appear.
But I get one error, most likely due to the location of it, so I believe I have it in the wrong callback.
Just flat out confusing, especially when I am tired. (Getting addicted to scripting! ) Any help would be GREATLY appreciated. (+Rep)
Cheers,
nmader
Код:
Public OnGameModeInit() { if(IsPlayerInRangeOfPoint(playerid, 15.0, -329.8382,1536.7200,76.6117)) { Create3DTextLabel("Soviet Union HQ\nType /enter to enter!",0x1D99FEFF,- 329.8382,1536.7200,76.6117,189.5094,0); } return 1; }
Код:
C:\Documents and Settings\nmader\Desktop\Folders\WWIII RP\gamemodes\WWIII-RP2.pwn(142) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Cheers,
nmader