String error /variables help :(
#2

PHP код:
//variabele
new variabele 1;
new 
variabeleempty;
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print(
"\n--------------------------------------");
print(
" TEST SERVER");
print(
"--------------------------------------\n");
return 
1;
}
public 
OnFilterScriptExit()
{
return 
1;
}
#else
main()
{
print(
"\n----------------------------------");
print(
" TWISTEDґs TEST SERVER");
print(
"----------------------------------\n");
}
#endif
public OnGameModeInit()
{
SetGameModeText("TEST");
AddPlayerClass(01958.37831343.157215.3746269.1425100000);
//cars
AddStaticVehicle(509,1229.8336,-925.2338,42.2838,162.9694,61,1); //bike at BSN
AddStaticVehicle(509,1227.9171,-925.3457,42.7996,191.3384,61,1); //bike 2 bsn
AddStaticVehicle(509,1226.1729,-925.6810,42.8143,191.338,61,1); //bike 3 bsn
AddStaticVehicle(509,1224.9955,-926.3659,42.8090,191.3384,61,1); //bike 4 bsn
AddStaticVehicle(509,1231.2554,-924.6794,42.7721,191.3384,61,1); //bike 5 bsn
AddStaticVehicle(509,1233.1501,-924.6672,42.7443,191.338,61,1); //bike 6 bsn
AddStaticVehicle(509,1235.0730,-924.7230,42.7205,191.3384,61,1); //bike 7 bsn
//3D TEXT
Create3DTextLabel("this is the Spawn:\0.1",0xFFB400FF,1265.8516,-885.3967,42.8828+1.0,40.0,0);
printf("%d",variabele);
return 
1;
}
public 
OnGameModeExit()
{
return 
1;
}
public 
OnPlayerRequestClass(playeridclassid)
{
SetPlayerVirtualWorld(playerid,1+playerid);
SetPlayerPos(playerid,1202.3580,-902.9371,48.0625);
SetPlayerCameraPos(playerid,1202.3580,-902.9371,48.0625);
SetPlayerCameraLookAt(playerid,1202.3580,-902.9371,48.0625);
return 
1;
}
public 
OnPlayerConnect(playerid)
{
    new 
string[100];
    
variabeleempty 100;
    
SendClientMessage(playerid,RED,"When i See Dm with the  Brass knuckles at the spawn youґll get Banned");
    
SendClientMessage(playerid,ORANGE,"Hello this is a testserver");
    
format(string.sizeof(string),"here comes the number %d".,variabeleempty);
    
SendClientMessage(playerid,RED,string);
    return 
1;

Try this
Reply


Messages In This Thread
String error /variables help :( - by stylerof619 - 06.09.2011, 11:47
Re: String error /variables help :( - by =WoR=G4M3Ov3r - 06.09.2011, 11:52
Re: String error /variables help :( - by stylerof619 - 06.09.2011, 12:22
Re: String error /variables help :( - by =WoR=G4M3Ov3r - 06.09.2011, 12:25
Re: String error /variables help :( - by Kaperstone - 06.09.2011, 12:26
Re: String error /variables help :( - by Vince - 06.09.2011, 12:27
Re: String error /variables help :( - by stylerof619 - 06.09.2011, 12:29
Re: String error /variables help :( - by =WoR=G4M3Ov3r - 06.09.2011, 12:30
Re: String error /variables help :( - by stylerof619 - 06.09.2011, 12:33
Re: String error /variables help :( - by Kaperstone - 06.09.2011, 12:34

Forum Jump:


Users browsing this thread: 1 Guest(s)