SA-MP Forums Archive
Pickups dont show ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pickups dont show ? (/showthread.php?tid=265638)



Pickups dont show ? - Jimbo01 - 01.07.2011

Код:
	if (strcmp("/kickstart", cmdtext, true) == 0)
	{
		if(IsSomeOnePlayingKickstart == 1)
		{
		    SendClientMessage(playerid, 0xFF0000AA, "Sorry, someone else is already playing Kickstart. Wait till he/she's finished!");
		    return 1;
		}
		IsSomeOnePlayingKickstart = 1;
		StadiumCycle = CreateVehicle(468,-1492.5464,1613.2220,1052.1998,271.7825,0,0, -1);
		LinkVehicleToInterior(StadiumCycle, 14);
		SetPlayerInterior(playerid, 14);
		SetPlayerPos(playerid, -1494.9211,1616.5856,1052.5313);
		SetPlayerFacingAngle(playerid, 245.0736);
		SetCameraBehindPlayer(playerid);
		IsPlayerRacing[playerid] = 1;
		for(new i; i<MAX_PACKAGES; i++)
		{
		    PackagePickupID[i] = CreatePickup(PackageModels[i], 1, CPositions[i][0], CPositions[i][1], CPositions[i][2]);
		    IsPackagePickedUp[i] = 0;
		}
		GameTextForPlayer(playerid, "~w~Get on the bike!", 9999999, 3);
		HasToGetOnBike[playerid] = 1;
		return 1;
	}
I can pick the pickups but i cant see them why ?