Help me with AddStaticVehicleEx
#1

so this is my rp game mode script im workin on below:

#include <a_samp>

main()
{
print("\n------------------------------------");
print(" Anthonys GameMode Locked and Loaded!");
print("------------------------------------\n");
return 1;
}


public OnGameModeInit()
{
SetGameModeText("Hunter Script");
AddPlayerClass(105,1931.9152,-1772.2585,13.3828,274.4115,0,0,0,0,0,0); // groveskin1
AddPlayerClass(106,1931.9152,-1772.2585,13.3828,274.4115,0,0,0,0,0,0); // grovest2
AddPlayerClass(107,1931.9152,-1772.2585,13.3828,274.4115,0,0,0,0,0,0); // grovest3
AddPlayerClass(102,1931.9152,-1772.2585,13.3828,274.4115,0,0,0,0,0,0); // ballaskin1
AddPlayerClass(103,1931.9152,-1772.2585,13.3828,274.4115,0,0,0,0,0,0); // ballaskin2
AddPlayerClass(104,1931.9152,-1772.2585,13.3828,274.4115,0,0,0,0,0,0); // ballskin 3
//cars
AddStaticVehicleEx(522,1940.3895,-1770.7438,12.9554,357.5270,3,;

return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1176.2181,-1995.1696,69.007;
SetPlayerFacingAngle(playerid, 155.3725);
SetPlayerCameraPos(playerid, 1175.6296,-1998.9053,69.007;
SetPlayerCameraLookAt(playerid, 1176.2181,-1995.1696,69.007;
return 1;
}



When i Complie my script i get these warnings:

C:\samp\sampserver\samp03csvr_win32\gamemodes\hunt er.pwn(22) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.


My server still works, but im concern for future errors. Should i be concern, and if its not a good thing how can i fix this problem.Im very new to scripting, and is trying to get the basic shit down. Also can someone tell me how i can post my script and warning message in a window in my post. Like the rest of you guys do.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)