Complie error
#1

pawn Код:
C:\Documents and Settings\Owner\Desktop\Trucking Life\gamemodes\PPC_Trucking.pwn(75) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Owner\Desktop\Trucking Life\gamemodes\PPC_Trucking.pwn(75) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Owner\Desktop\Trucking Life\gamemodes\PPC_Trucking.pwn(75) : error 017: undefined symbol "FF00"
C:\Documents and Settings\Owner\Desktop\Trucking Life\gamemodes\PPC_Trucking.pwn(75) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
here is the part:
pawn Код:
// The main function (used only once when the server loads)
main()
{
     // On top of your script
    new Object;
    // Now replace that code, with this one
    Object = CreateDynamicObject(10771,3302.39990234,-830.20001221,-1.79999995,0.00000000,0.00000000,270.00000000);
    // Now place this where you want the object to be moved.
    MoveDynamicObject(Object, 3320.00, -2465.59, 23.01, 1); // 1 = Speed, change it to your likings.
    SendClientMessageToAll(00FF00, "Los Sontos Ferry News: The Ferry Is Moving To Dream Land Now!");
Reply
#2

This value needs to be a hex value, in this case:
0x00FF00FF, rather than 00FF00.
pawn Код:
SendClientMessageToAll(0x00FF00FF, "Los Sontos Ferry News: The Ferry Is Moving To Dream Land Now!");
Read more here: https://sampwiki.blast.hk/wiki/Colors
and here: https://sampwiki.blast.hk/wiki/SendClientMessageToAll
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)