Szerző Téma: HELP :/  (Megtekintve 601 alkalommal)

HELP :/
« Dátum: 2012. január 29. - 17:50:21 »
0 Show voters
Sziasztok valaki meg tudja mondani ez miért nem mûködik? :/
[pawn]new MyPickup;
public OnGameModeInit()
{
//Misc
SetGameModeText(\"[HUN]BigCityLifeRPG\");
ShowPlayerMarkers(1);
ShowNameTags(1);
AllowAdminTeleport(1);
//Classes
AddPlayerClass(0,1958.3783,1343.1572,15.3746,269.1425,22,100,0,0,0,0);
//Cars
AddStaticVehicle(402,2038.9360,1362.0737,10.5035,181.0030,0,0);
AddStaticVehicle(451,2039.2904,1319.5940,10.5034,180.1104,0,0);
AddStaticVehicle(411,2107.0212,1397.8488,10.6520,0.2616,0,0);
AddStaticVehicle(489,2148.6218,1408.7012,10.6520,180.8563,0,0);
AddStaticVehicle(477,2145.3376,1398.4747,10.6441,180.1302,0,0);
AddStaticVehicle(463,2168.5276,1413.6494,10.6519,178.8114,0,0);
AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
MyPickup - CreatePickup(1239, 23, 1957.1445,1343.0732,15.3746, -1);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid -- MyPickup}{
SendClientMessage(playerid,COLOR_YELLOW,\"10000$ Amivel gazdagabb lettél!\");
GivePlayerMoney(playerid, 10000);
{
return 1;
}[/pawn]
« Utoljára szerkesztve: 2012. január 29. - 18:13:08 írta xFortManx »

Szabina

  • Vendég
HELP :/
« Válasz #1 Dátum: 2012. január 29. - 18:03:52 »
0 Show voters
Kérlek használd a(z) [*code][/code] vagy a [*pawn][/pawn] tageket. ( Csillag nélkül! )
 

new MyPickup;
public OnGameModeInit( )
{
SetGameModeText( \"[HUN]BigCityLifeRPG\" );
ShowPlayerMarkers( 1 );
ShowNameTags( 1 );
AllowAdminTeleport( 1 );
AddPlayerClass(   0, 1958.3783, 1343.1572, 15.3746, 269.1425, 22, 100, 0, 0,  0,  0 );
AddPlayerClass( 265, 1958.3783, 1343.1572, 15.3746, 270.1425,  0,   0, 0, 0, -1, -1 );
 
AddStaticVehicle( 402, 2038.9360, 1362.0737, 10.5035, 181.0030, 0, 0 );
AddStaticVehicle( 451, 2039.2904, 1319.5940, 10.5034, 180.1104, 0, 0 );
AddStaticVehicle( 411, 2107.0212, 1397.8488, 10.6520, 0.2616,   0, 0 );
AddStaticVehicle( 489, 2148.6218, 1408.7012, 10.6520, 180.8563, 0, 0 );
AddStaticVehicle( 477, 2145.3376, 1398.4747, 10.6441, 180.1302, 0, 0 );
AddStaticVehicle( 463, 2168.5276, 1413.6494, 10.6519, 178.8114, 0, 0 );
   
MyPickup = CreatePickup( 1239, 23, 1957.1445,1343.0732,15.3746, -1 );
return 1;
}
public OnPlayerPickUpPickup( playerid, pickupid )
{
if(pickupid == MyPickup)
{
SendClientMessage( playerid, COLOR_YELLOW, \"10000$ Amivel gazdagabb lettél!\" );
GivePlayerMoney( playerid, 10000 );
}
return 1;
}

HELP :/
« Válasz #2 Dátum: 2012. január 29. - 18:13:44 »
0 Show voters
Vettem köszönöm :)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal