Posts: 497
Threads: 68
Joined: Jul 2013
Can anyone help me with this error
Code:
C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\gamemodes\UGRP.pwn(90957) : error 017: undefined symbol "Syntax"
Line:
Code:
else return Syntax(playerid, "aflip", "[vehicleid] OR /aflip in a car.");
Posts: 376
Threads: 28
Joined: Jun 2012
Reputation:
0
You have not defined Syntax.
Did you take that from another script?
Posts: 497
Threads: 68
Joined: Jul 2013
I know i dont have the Syntax defined, and kinda. My friend got that command and i asked him that i could get it with the define he couldn't find the define but he gave me the command. I need the define. Could you create one for me?
Posts: 233
Threads: 48
Joined: Aug 2013
Reputation:
0
Syntax(arguments) is an function.It looks like it sends an message to the player so you can use default SendClientMessage(playerid, COLOR, MSG);
Posts: 497
Threads: 68
Joined: Jul 2013
Can someone give me a define of this:
Code:
C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\gamemodes\UGRP.pwn(90978) : error 017: undefined symbol "get3g"
Line:
Code:
format(szSpeed, sizeof(szSpeed),"~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~%.0f MPH", GetPlayerSpeed(playerid, get3d));
And yes i also asked him for this
Posts: 497
Threads: 68
Joined: Jul 2013
but when i removing it i get this warning
Code:
C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\gamemodes\UGRP.pwn(90978) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Line:
Code:
format(szSpeed, sizeof(szSpeed),"~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~%.0f MPH", GetPlayerSpeed(playerid));
i need to have the script clean i mean without errors and warnings before i can run it on my host.
Posts: 497
Threads: 68
Joined: Jul 2013
When i inputting the g3d the warning getting destroyed and then i just have to define it