Help +rep simple - 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 +rep simple (
/showthread.php?tid=537560)
Help +rep simple -
ManGoe - 16.09.2014
E:\Main\Life of Flying 0.3x (1)\Life of Flying 0.3x\gamemodes\LoF.pwn(7205) : warning 217: loose indentation
E:\Main\Life of Flying 0.3x (1)\Life of Flying 0.3x\gamemodes\LoF.pwn(14493) : warning 217: loose indentation
E:\Main\Life of Flying 0.3x (1)\Life of Flying 0.3x\gamemodes\LoF.pwn(27651) : error 021: symbol already defined: "Create3DTextLabel"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
This line :
Код:
// Welcome Message 1732.3046,-1861.4559,13.5775
Create3DTextLabel("Welcome to the gas station /refuel or /repair to refuel or fix your vehicle",COLOR_YELLOW,-2288.4805,2138.3035,4.9394,98.0136);
//End of the script
Re: Help +rep simple -
Sawalha - 16.09.2014
Show the full function which the code is inside
EDIT: that must be cause you have put it out of a function like onplayer something.. (..)
Put it under OnGameModeInit:
pawn Код:
public OnGameModeInit()
{
Create3DTextLabel("Welcome to the gas station /refuel or /repair to refuel or fix your vehicle",COLOR_YELLOW,-2288.4805,2138.3035,4.9394,98.0136);
return 1;
}
Re: Help +rep simple -
ManGoe - 16.09.2014
EDIT:
Done thanks +repped